This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: mark probes : usage examples?
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: Om Narasimhan <om dot turyx at gmail dot com>
- Cc: systemtap at sourceware dot org
- Date: Mon, 25 Aug 2008 08:07:09 -0400
- Subject: Re: mark probes : usage examples?
- References: <48B1E478.8060103@gmail.com> <48B1F0D9.8070706@gmail.com>
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