mark probes : usage examples?

Frank Ch. Eigler fche@redhat.com
Mon Aug 25 12:08:00 GMT 2008


Om Narasimhan <om.turyx@gmail.com> writes:

> [...]
> But I can't see any markers in my kernel source (which is pretty new)

You can have systemtap list them for you:
    % stap -l 'kernel.mark("*")'

> $ findc | xargs grep -En "STAP_MARK"
> findc is my function for find . -iname "*.[ch]"

Look for "trace_mark" instead.  There are a few in recent kernels, but
they may have been compiled out with some CONFIG_FOO=n flags.

- FChE



More information about the Systemtap mailing list