[RFC][PATCH 1/4] kprobe-based symbol resolution for stap-translator

Frank Ch. Eigler fche@redhat.com
Thu Apr 9 16:22:00 GMT 2009


Hi -

I wrote:
> [...] I'd rather see
> - no new command line option
> - a separate namespace for these restricted sorts of probes
> - and then some new intelligence in the translator that automatically
>   downgrades "kernel.function("...")' probes to 'kernel.kprobe("...")'
>   if the probe point & handler does not appear to require debuginfo

Have you thought more about this approach? 

It may be possible to approximate the kernel.function complications
such as wildcards by heuristics that search /proc/kallsyms (and
therefore assuming/warning that the instrumentation host == target).

- FChE



More information about the Systemtap mailing list