[Bug translator/5667] Exploit kprobe.symbol_name for function boundary tracing

srinivasa at in dot ibm dot com sourceware-bugzilla@sourceware.org
Fri Jan 25 13:01:00 GMT 2008


------- Additional Comments From srinivasa at in dot ibm dot com  2008-01-25 13:01 -------
Created an attachment (id=2214)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=2214&action=view)
Patch to solve the problem

As Iam looking on this, I have a incomplete patch which collects the symbol
name and assigns it to "kp.symbol_name". There is lot of work is left to
complete

1) Like falling down from no debuginfo condition 
2) Looks for kernel version.
3) If we have both symbol name and address, kprobe module doesn't load(Hence
this patch doesn't work). So we need to make sure that, function name is
collected only when there is no debuginfo.

Hope I haven't missed something, please remind me.

Please let me know your comments.

Thanks
 Srinivasa DS

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=5667

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Systemtap mailing list