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] |
Li Guanglei <guanglei@cn.ibm.com> writes:
I ever thought that kernel.function("*@kernel/signal.c:734") will put a probe on line 734. But after testing and reading the stapprobes man page, that actually refers to any functions within the "kernel/signal.c" file that span line 734, i.e, it equals to kernel.function("send_signal"). So it seems to me the only way to put probe on a specific line is to use kernel.statements(0x....). [...]
Not so: kernel.statement() accepts the same string-based specification of a probe point as kernel.function() does:
kernel.statement("*@kernel/signal.c:734")
The "function" and "statement" terms are intentional and significant.
- FChE
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |