fche changed the topic of #systemtap to: http://sourceware.org/systemtap; email systemtap@sourceware.org if answers here not timely, conversations may be logged
gromero has joined #systemtap
<gromero>
hi. is it possible to set a register value just like a variable at a probe point?
<fche>
gromero, hey, I don't think we have a tapset function for that
<fche>
I suppose one could write some embedded-C code in order to live dangerously
<gromero>
fche: hm I see. I also had to write an inline asm into _stp_print_regs() to inspect the context of a vector register not listed in pt_regs struct. I'm on a PowerPC 64-bit machine by the way... thanks
<gromero>
s/context/content/
<fche>
you probably don't have to -modify- preexisting functions, just use new ones
<fche>
function foo() %{ /* do something with CONTEXT->kregs */ %} kind of thing
<gromero>
fche: okido. but at the same time I would like to make it available in the cool print_regs("<register_name>"), so I guess I have to modify in that case...
<gromero>
I mean, if I don't want to live dangerously...
<gromero>
and add an embedded-C
<gromero>
does it make sense?
<gromero>
fche: btw , do you think it would be worth making register setting function supported on systemtap?
<fche>
gromero, not a crazy idea, just a moderate amount of work; would start from the register() functions in the tapset already, and see what it'd take to make a setter sibling
<gromero>
fche: cool. thanks for your advice. btw, I know about systemtap since some time ago and just now I started using it to debug a kernelspace issue: man, what an amazing / awesome piece of code! :)
<fche>
so glad to hear it's useful to you!!
<gromero>
fche: incredibly useful indeed! :)
<fche>
we'd love to hear about your successes (& failures) with it, drop us a note sometime if able
<gromero>
fche: sure! I have to get my fix merged upstream first of course... but yes, I intend to at least contribute back the printing for vector and floating-point register on PPC64. Thanks!
<fche>
np
scox has joined #systemtap
hpt has joined #systemtap
wcohen has quit [Ping timeout: 246 seconds]
baotiao has joined #systemtap
wcohen has joined #systemtap
orivej has quit [Ping timeout: 255 seconds]
irker446 has quit [Quit: transmission timeout]
gromero has quit [Ping timeout: 245 seconds]
baotiao has quit [Quit: baotiao]
Humble has quit [Ping timeout: 255 seconds]
baotiao has joined #systemtap
Humble has joined #systemtap
baotiao has quit [Quit: baotiao]
baotiao has joined #systemtap
sanoj has joined #systemtap
gila has joined #systemtap
gila has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
hkshaw has joined #systemtap
Humble has quit [Ping timeout: 260 seconds]
nkambo has quit [Ping timeout: 272 seconds]
nkambo has joined #systemtap
ravi__ has joined #systemtap
nkambo has quit [Ping timeout: 245 seconds]
Humble has joined #systemtap
nkambo has joined #systemtap
pwithnall__ has joined #systemtap
pwithnall__ has quit [Quit: pwithnall__]
pwithnall____ has joined #systemtap
zodbot has quit [Disconnected by services]
pwithnall_____ has joined #systemtap
vbernat_ has joined #systemtap
pwithnall____ has quit [*.net *.split]
vbernat has quit [*.net *.split]
invano has quit [*.net *.split]
fche has quit [*.net *.split]
vbernat_ is now known as vbernat
zodbot has joined #systemtap
invano has joined #systemtap
fche has joined #systemtap
fche has joined #systemtap
fche has quit [Changing host]
hpt has quit [Quit: Lost terminal]
mjw has joined #systemtap
gromero has joined #systemtap
gromero has quit [Ping timeout: 260 seconds]
orivej has joined #systemtap
wcohen has quit [Ping timeout: 255 seconds]
hkshaw has quit [Ping timeout: 272 seconds]
pwithnall__ has joined #systemtap
ravi__ has quit [Quit: Leaving]
pwithnall__ has quit [Quit: pwithnall__]
hkshaw has joined #systemtap
gromero has joined #systemtap
gromero has quit [Quit: Leaving]
mbenitez has joined #systemtap
mbenitez has joined #systemtap
mbenitez has quit [Changing host]
wcohen has joined #systemtap
skycarl has joined #systemtap
sanoj has quit [Ping timeout: 240 seconds]
drsmith_away is now known as drsmith
brolley has joined #systemtap
baotiao has quit [Quit: baotiao]
orivej has quit [Ping timeout: 246 seconds]
skycarl has quit [Remote host closed the connection]
baotiao has joined #systemtap
Humble has quit [Ping timeout: 240 seconds]
Humble has joined #systemtap
Humble has quit [Ping timeout: 240 seconds]
gromero has joined #systemtap
baotiao has quit [Ping timeout: 240 seconds]
orivej has joined #systemtap
baotiao has joined #systemtap
baotiao has quit [Client Quit]
tromey has joined #systemtap
Humble has joined #systemtap
gromero has quit [Ping timeout: 240 seconds]
hkshaw has quit [Ping timeout: 240 seconds]
pwithnall_____ has quit [Ping timeout: 245 seconds]