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: where is the list of kernel tracepoint defined?


dsmith wrote:

> [...]  Note that there are some 'virtual' kernel tracepoints (like the
> syscall ones) that systemtap doesn't list since we can't use them.

Please excuse the pedantry: as you know, there are real kernel
tracepoint beneath those virtual ones.  stap can attach to them, and
open-code the same demultiplexing test that the kernel perf probes do
for the virtual tracepoints.

perf's   syscall:read
stap's   probe kernel.trace("sys_enter") {
            if (syscall_name($id) != "read")
                next; ....
         }

- FChE


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