[Bug releng/6491] need runtime-analysis tool to extend blacklist

mhiramat at redhat dot com sourceware-bugzilla@sourceware.org
Thu May 8 12:48:00 GMT 2008


------- Additional Comments From mhiramat at redhat dot com  2008-05-07 21:27 -------
(In reply to comment #0)
> As seen in bug #6487, new kernel-side code called indirectly from probe handlers
> via the runtime can cause deadlocks and whatnot.  It may be nice to have a script
> that searches the external-reference/undefined-symbol chain starting from the
> systemtap probe module, and a kernel build tree (individual compilation unit .o
> files).  If only it could follow the undefined reference chain on a per-function
> basis, the transitive closure could give us a pretty good blacklist suggestions.

Some functions called from probe 'module' may be safe. I think only functions
called from probe 'handlers' will cause problems.

> (given an unresolved external function, find object file that defines it,
> "objdump -dr" it to find the functions that it calls, then recurse).

cscope will help you trace call graph.

Thanks,

-- 


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

------- 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