[Bug translator/11424] dwarfless kprobe.* probes don't validate at translate time
dsmith at redhat dot com
sourceware-bugzilla@sourceware.org
Tue Jul 10 16:35:00 GMT 2012
http://sourceware.org/bugzilla/show_bug.cgi?id=11424
--- Comment #9 from David Smith <dsmith at redhat dot com> 2012-07-10 16:35:41 UTC ---
(In reply to comment #1)
> This is because kprobe.* probes cannot currently be tested
> for validity at translate time. If the logic looked through
> a symbol table of some sort, it could work. It could then
> expand wildcards.
>
> session.exported_symbols is actually a plausible source of
> such data, even though it's only a subset. $kernel-builddir/System.map
> is another plausible source.
Thinking about this a bit, System.map would work fine for
kprobe.function("foo"), but wouldn't work for
kprobe.module("module").function("foo"), since System.map only has kernel
symbols. But, using System.map would still work much better than what we have
now.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Systemtap
mailing list