This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mark probes : usage examples?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]