[PATCH] support $$vars and $$parms

Stan Cox scox@redhat.com
Thu Jul 24 13:20:00 GMT 2008


Given: 
probe kernel.statement("bio_map_kern@fs/bio.c:850") {print ($$vars) }
Results:
q=0xffffffffdea58ca8 data=0xffffffffdf5c6d88 gfp_mask=0x10
bio=0xd5362c00 

$$vars expands to sprintf("%#x %#x %#x %#x\n", parm1, parm2, var1, var2)
$$parms expands to sprintf("%#x %#x\n", parm1, parm2)
where parm are the function parameters and var are local variables live
at that location.

Testing and documentation are in progress.




-------------- next part --------------
A non-text attachment was scrubbed...
Name: tapsets.patch
Type: text/x-patch
Size: 3512 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/systemtap/attachments/20080724/fe332845/attachment.bin>


More information about the Systemtap mailing list