fche changed the topic of #systemtap to: http://sourceware.org/systemtap; email systemtap@sourceware.org if answers here not timely, conversations may be logged
hpt has joined #systemtap
irker118 has quit [Quit: transmission timeout]
ravi has joined #systemtap
nnr has joined #systemtap
Ke has quit [Ping timeout: 276 seconds]
Ke has joined #systemtap
nnr_ has joined #systemtap
nnr has quit [Ping timeout: 276 seconds]
hkshaw has joined #systemtap
ego_ has joined #systemtap
hkshaw has quit [Quit: Leaving.]
hkshaw has joined #systemtap
hkshaw has quit [Ping timeout: 276 seconds]
lorddoskias1 has joined #systemtap
<lorddoskias1>
the following script: http://sprunge.us/KOaI gives me this error: error: expected ‘;’ before ‘!’ token return ! task_in_root_cgroup(current);
<lorddoskias1>
essentially mask_addr should be a struct
<lorddoskias1>
but i believe in the script it's losing this type information, perhaps I should @cast it?
<fche>
types passed to/from embedded-c functions are strictly char* or int64_t types
ravi has quit [Quit: Leaving]
<fche>
so yeah you definitely have to cast it
<fche>
and it's embedded-c so use normal c casting, not @cast()
<lorddoskias1>
right
<lorddoskias1>
neat, seems to be working :D
<lorddoskias1>
now to see if it is going to crash the kernel
nkambo has joined #systemtap
<lorddoskias1>
woah, it didn't even crash the machine o_o
<fche>
that's just wrong
<lorddoskias1>
what's wrong?
<fche>
I mean it should crash once in a while, just on principle :-)
<fche>
I hope those cpumask_* operations are safe from that context (non-blocking etc.)
mjw has joined #systemtap
ego_ has quit [Ping timeout: 240 seconds]
<lorddoskias1>
yep, the only problem would the alloc function, which is invoked with GFP_KERNEL (though I can change it to GFP_ATOMIC)
<lorddoskias1>
but if it's not invoked in low memory situation it should be good, also this is a VERY dirty hack (i still feel very low because of it :( )
<lorddoskias1>
i have to spent some time looking at the preprocessed .c code of a driver to see what it looks like ;0
wcohen has quit [Ping timeout: 240 seconds]
mbenitez has joined #systemtap
ravi has joined #systemtap
ravi has quit [Quit: Leaving]
scox has joined #systemtap
nnr has joined #systemtap
drsmith has joined #systemtap
nkambo has quit [Ping timeout: 276 seconds]
nkambo has joined #systemtap
ton31337 has quit [Ping timeout: 244 seconds]
wcohen has joined #systemtap
<lorddoskias1>
fche: another question, similar to my initial one: masksize = %{ cpumask_size(); %}
<fche>
drop the ; inside that %{ %} block
<fche>
it's an -expression- not a -statement-
ton31337 has joined #systemtap
ton31337 has quit [Ping timeout: 258 seconds]
mbenitez has quit [Quit: To office]
<lorddoskias1>
right
ton31337 has joined #systemtap
brolley has joined #systemtap
ton31337 has quit [Ping timeout: 265 seconds]
ton31337 has joined #systemtap
ton31337 has quit [Ping timeout: 265 seconds]
ton31337 has joined #systemtap
mbenitez has joined #systemtap
mbenitez has joined #systemtap
mbenitez has quit [Changing host]
ton31337 has quit [Ping timeout: 260 seconds]
ton31337 has joined #systemtap
tromey has joined #systemtap
ton31337 has quit [Ping timeout: 240 seconds]
ton31337 has joined #systemtap
ton31337 has quit [Ping timeout: 264 seconds]
nnr has quit [Quit: nnr]
ton31337 has joined #systemtap
mbenitez_ has joined #systemtap
brolley has left #systemtap [#systemtap]
mbenitez has quit [Read error: Connection reset by peer]
irker908 has joined #systemtap
<irker908>
systemtap: ravi.bangoria systemtap.git:refs/heads/rth/bpf * release-3.0-226-gb0cfcdb / tapsets.cxx: ppc64le: Store correct function entry address in symbol_table http://tinyurl.com/z4o7l8p