where is the list of kernel tracepoint defined?
Frank Ch. Eigler
fche@redhat.com
Tue Mar 28 19:02:00 GMT 2017
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
More information about the Systemtap
mailing list