fche changed the topic of #systemtap to: http://sourceware.org/systemtap; email systemtap@sourceware.org if answers here not timely, conversations may be logged
<fche> see [man stapprobes] CONTEXT VARIABLES
<yunhuali> fche, thanks, let me try
<yunhuali> fche, I tried to print global variable, jiffies, it works, but print the global variable in module, it is not work
<yunhuali> probe oneshot { println(@var("kvm_x86_ops"));}, kvm_x86_ops exported by module "KVM"
<fche> modules are separately linked creatures, it's not so simple there
<fche> try probe module("kvm").function("... some function ...") { println (@var(...) ) }
<fche> i.e., to put that variable into scope
<fche> then you have to arrange to get that function called at some point
<fche> if you just want the address, you can also #grep /proc/kallsyms fwiw.
<yunhuali> Yes, if use probe moudle("kvm").function, I need trigger that function
philip_ has quit [Quit: philip_]
<fche> yup
<fche> at least once. :) it could be anything; the stap module could exit at that point if this is all the info you were after
<fche> or the probe could be disabled after that info is found (use an global found_p; probe kvm.foo if (!found_p) { found_p = 1 } kind of thing
<fche> (see "arming condition" in [man stap] PROBES)
<yunhuali> thanks fche,
<yunhuali> using @var("kvm_x86_ops"), I can print the value, Do you know how to print each member?
<yunhuali> something like $$parms$
<yunhuali> it will print each member of a structure
hpt has joined #systemtap
<fche> @var("kvm_x86_ops")$
<fche> or probably even $kvm_x86_ops$ or $$
<fche> i.e., $ composes with @var() or @cast()
yunhuali has quit [Ping timeout: 256 seconds]
przemoc has quit [Ping timeout: 246 seconds]
hkshaw has joined #systemtap
przemoc has joined #systemtap
przemoc has joined #systemtap
przemoc has quit [Changing host]
hkshaw has quit [Ping timeout: 246 seconds]
yunhuali has joined #systemtap
ananth has joined #systemtap
przemoc has quit [Ping timeout: 268 seconds]
hkshaw has joined #systemtap
ravi_ has joined #systemtap
ego_ has joined #systemtap
przemoc has joined #systemtap
przemoc has quit [Changing host]
przemoc has joined #systemtap
hchiramm has quit [Ping timeout: 258 seconds]
ego_ has quit [Ping timeout: 258 seconds]
yunhuali has quit [Ping timeout: 245 seconds]
ego_ has joined #systemtap
srikar_away is now known as srikar
hchiramm has joined #systemtap
ego_ has quit [Ping timeout: 260 seconds]
ego_ has joined #systemtap
srikar is now known as srikar_away
hpt has quit [Quit: Lost terminal]
sean_ has joined #systemtap
<sean_> Hi all experts, I encountered an error when using whythefail.stp
<sean_> The error log is http://susepaste.org/66528001
<sean_> How to fix it
<sean_> whythefail.stp script is http://susepaste.org/32730118
<sean_> Have anybody encountered this issue?
mjw has joined #systemtap
gila has quit [Ping timeout: 260 seconds]
mjw has quit [Quit: Leaving]
hkshaw has quit [Ping timeout: 268 seconds]
mjw has joined #systemtap
hkshaw has joined #systemtap
srikar_away is now known as srikar
ananth has quit [Ping timeout: 268 seconds]
sean_ has quit [Read error: Connection reset by peer]
ego_ has quit [Ping timeout: 260 seconds]
ravi_ has quit [Quit: Leaving]
wcohen_ has quit [Ping timeout: 260 seconds]
hkshaw has quit [Ping timeout: 260 seconds]
hkshaw has joined #systemtap
mbenitez has joined #systemtap
mbenitez has quit [Ping timeout: 246 seconds]
mbenitez has joined #systemtap
mbenitez has joined #systemtap
mbenitez has quit [Changing host]
srikar is now known as srikar_away
hkshaw has quit [Read error: Connection reset by peer]
wcohen_ has joined #systemtap
drsmith has joined #systemtap
srikar_away is now known as srikar
brolley has joined #systemtap
sean__ has joined #systemtap
ego_ has joined #systemtap
jhg___ has quit [Ping timeout: 248 seconds]
mjw has quit [Quit: Leaving]
ego_ has quit [Quit: Leaving]
hchiramm has quit [Ping timeout: 244 seconds]
hchiramm has joined #systemtap
srikar is now known as srikar_away
hchiramm has quit [Ping timeout: 258 seconds]
yunhuali has joined #systemtap
hchiramm has joined #systemtap
<jistone> sean__, from the errors, it looks like your systemtap doesn't have tapset/speculative.stp
<jistone> that was added in stap 1.7
przemoc has quit [Quit: leaving]
przemoc has joined #systemtap
przemoc has quit [Client Quit]
przemoc has joined #systemtap
przemoc has quit [Quit: leaving]
przemoc has joined #systemtap
przemoc86 has joined #systemtap
przemoc86 has quit [Client Quit]
przemoc has quit [Ping timeout: 248 seconds]
przemoc has joined #systemtap
przemoc has joined #systemtap
przemoc has quit [Changing host]
przemoc has quit [Quit: leaving]
mbenitez has quit [Quit: Leaving]
wcohen_ has quit [Ping timeout: 260 seconds]
drsmith has left #systemtap [#systemtap]
brolley has left #systemtap [#systemtap]
philip_ has joined #systemtap
philip_ has quit [Quit: philip_]