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
scox has joined #systemtap
hpt has quit [Quit: leaving]
ravi_ has joined #systemtap
ananth has joined #systemtap
naveen1 has joined #systemtap
srikar_away is now known as srikar
hkshaw has joined #systemtap
ego has joined #systemtap
hpt has joined #systemtap
hpt has quit [Ping timeout: 240 seconds]
hpt has joined #systemtap
nkambo has joined #systemtap
gila has joined #systemtap
hpt has quit [Ping timeout: 272 seconds]
hpt has joined #systemtap
lorddoskias has left #systemtap [#systemtap]
hpt has quit [Ping timeout: 276 seconds]
hkshaw has quit [Ping timeout: 260 seconds]
hkshaw has joined #systemtap
mjw has joined #systemtap
hkshaw has quit [Read error: Connection reset by peer]
hkshaw has joined #systemtap
ananth has quit [Quit: Leaving]
hkshaw has quit [Ping timeout: 240 seconds]
srikar is now known as srikar_away
ravi_ has quit [Remote host closed the connection]
srikar_away is now known as srikar
hkshaw has joined #systemtap
wcohen has quit [Ping timeout: 240 seconds]
srikar is now known as srikar_away
mbenitez has joined #systemtap
ravi has joined #systemtap
jistone has joined #systemtap
scox has quit [Ping timeout: 276 seconds]
hpt has joined #systemtap
drsmith has joined #systemtap
wcohen has joined #systemtap
scox has joined #systemtap
ananth has joined #systemtap
brolley has joined #systemtap
ravi has quit [Ping timeout: 246 seconds]
srikar_away is now known as srikar
ravi has joined #systemtap
hpt has quit [Ping timeout: 264 seconds]
naveen1 has quit [Ping timeout: 260 seconds]
ravi has quit [Remote host closed the connection]
ananth has quit [Quit: Leaving]
ego has quit [Ping timeout: 264 seconds]
ravi has joined #systemtap
nkambo has quit [Remote host closed the connection]
naveen has joined #systemtap
ravi has quit [Ping timeout: 252 seconds]
<jistone> fche, like this @sizeof ? http://paste.fedoraproject.org/378600/58370181/
<jistone> you can even pull kernel info in dyninst mode:
<jistone> $ ./run-stap -e 'probe oneshot { println(@sizeof("task_struct")) }' --dyn
<jistone> 11072
naveen has quit [Ping timeout: 264 seconds]
mjw has quit [Quit: Leaving]
<fche> jistone, that was the one I was thinking of, but it's different from what ton31337 wanted
<fche> (based on a $context var, rather than its type name)
<jistone> ah
<fche> jistone, I'd appreciate pulling that macro into the tree anyway
<jistone> that's a bit tougher, because we might not even be able to take the address of an arbitrary variable
<fche> yeah, figure another @sizeof variant - like @defined - that's closer to the dwarf level
<jistone> hey there, PR18191
<fche> how'ya doin' buddy?
<jistone> do you really want that macro, if we may make it a language item in the future?
<fche> how about a @cast_sizeof for the former?
naveen has joined #systemtap
<jistone> ok
irker143 has joined #systemtap
<irker143> systemtap: jistone systemtap.git:refs/heads/master * release-3.0-114-g934db66 / tapset/sizeof.stpm testsuite/semok/sizeof.stp testsuite/systemtap.examples/general/sizeof.meta testsuite/systemtap.examples/general/sizeof.stp testsuite/systemtap.examples/process/semop-watch.stp: Add @cast_sizeof and @module_sizeof macros http://tinyurl.com/jyzyhml
<fche> thanks dude
<fche> (sorry to toolshed, but consider s/module_sizeof/cast_module_sizeof/ ?)
<fche> but not a strong preference
<jistone> oh, sure, I just interpreted your "for the former" too narrowly
* fche suspects the presence of the 'cast' name gives a hint that it's a castable type name whose size one's looking up
srikar is now known as srikar_away
<irker143> systemtap: jistone systemtap.git:refs/heads/master * release-3.0-115-gd2a1ecd / tapset/sizeof.stpm testsuite/semok/sizeof.stp testsuite/systemtap.examples/general/sizeof.stp: Rename @module_sizeof to @cast_module_sizeof http://tinyurl.com/j6axzug
mjw has joined #systemtap
naveen has quit [Quit: Leaving.]
irker143 has quit [Quit: transmission timeout]
mjw has quit [Quit: Leaving]
mbenitez has quit [Quit: Leaving]
wcohen has quit [Ping timeout: 240 seconds]
drsmith has left #systemtap [#systemtap]
brolley has left #systemtap [#systemtap]
wcohen has joined #systemtap
gila has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]