fche changed the topic of #systemtap to: http://sourceware.org/systemtap; email systemtap@sourceware.org if answers here not timely, conversations may be logged
pwithnall____ has quit [Quit: pwithnall____]
tromey has quit [Quit: ERC (IRC client for Emacs 26.0.50)]
hpt has joined #systemtap
wcohen has quit [Ping timeout: 255 seconds]
wcohen has joined #systemtap
eichiro has quit [Remote host closed the connection]
eichiro has joined #systemtap
rth has quit [Quit: Leaving]
hkshaw has joined #systemtap
hkshaw has quit [Ping timeout: 240 seconds]
ravi_ has joined #systemtap
ravi_ has quit [Ping timeout: 252 seconds]
ravi_ has joined #systemtap
sona has joined #systemtap
sona has quit [Ping timeout: 240 seconds]
_whitelogger has joined #systemtap
sanoj has joined #systemtap
sona has joined #systemtap
hkshaw has joined #systemtap
ravi_ has quit [Ping timeout: 240 seconds]
ravi_ has joined #systemtap
sanoj has quit [Ping timeout: 240 seconds]
csanting has quit [Ping timeout: 260 seconds]
atomlin has quit [Ping timeout: 268 seconds]
atomlin has joined #systemtap
pfalleno1 has quit [Ping timeout: 268 seconds]
pfallenop has joined #systemtap
csanting has joined #systemtap
<sona>
i just want to know how to take command line argument using $/@ when probing userspace functions and then to use them in script
Cust0sLimen has quit [Ping timeout: 246 seconds]
Cust0sLimen has joined #systemtap
jistone has quit [Ping timeout: 255 seconds]
jistone has joined #systemtap
sanoj has joined #systemtap
mjw has joined #systemtap
pwithnall____ has joined #systemtap
bendlas has quit [Read error: Connection reset by peer]
bendlas has joined #systemtap
hpt has quit [Quit: Lost terminal]
scox has quit [Ping timeout: 240 seconds]
sanoj has quit [Ping timeout: 268 seconds]
sanoj has joined #systemtap
hkshaw has quit [Ping timeout: 240 seconds]
wcohen has quit [Ping timeout: 255 seconds]
ravi_ has quit [Remote host closed the connection]
sanoj has quit [Ping timeout: 260 seconds]
hkshaw has joined #systemtap
hkshaw has quit [Ping timeout: 260 seconds]
hkshaw has joined #systemtap
hkshaw has quit [Ping timeout: 268 seconds]
scox has joined #systemtap
hkshaw has joined #systemtap
drsmith_away is now known as drsmith
mbenitez has joined #systemtap
mbenitez has joined #systemtap
mbenitez has quit [Changing host]
<drsmith>
sona: Arguments are describe a bit in the stap man page. But basically $1..$NNN for an unquoted value, @1...@NNN for quoted arguments
<drsmith>
so you can do something like: stap -ve 'probe kernel.function(@1) { printf("%s hit\n", ppfunc()) }' 'a*'
<drsmith>
to probe all kernel functions that start with the letter 'a'
wcohen has joined #systemtap
<atomlin>
drsmith, is it possible to access any variables using 'kernel.statement(...).absolute' ?
<drsmith>
hmm
* atomlin
is wondering
<drsmith>
I think you should be able to access variables in scope at that point, but I'm not 100% sure.
<drsmith>
Let me look for a sec.
tromey has joined #systemtap
<atomlin>
drsmith, ack np
<fche>
I doubt it - .absolute is dwarfless and dwarf-unaware
<fche>
you can get at registers
<fche>
some reason you're not using kernel.statement() (sans .absolute) ?
<atomlin>
fche, I see
<atomlin>
fche, drsmith, so kernel.statement() i.e. without .absolute is dwarf
<fche>
yes
* atomlin
goes to test
<fche>
thus you can use functon / file names, source line #s to specify
<atomlin>
fine
<atomlin>
thanks
Norm has quit [Quit: Norm]
brolley has joined #systemtap
<fche>
<sona> hey..as i asked you earlier , can we use pure C,instead of embedded C in stap for string manipulating operations
<fche>
embedded-c is a syntax for including C code inside a script
<fche>
so inside that %{ %} you have 'pure c' -- albeit kernel-space C if you're using the default stap --runtime
hkshaw has quit [Ping timeout: 268 seconds]
ppetraki has joined #systemtap
sona has quit [Read error: Connection reset by peer]