kprobe USAGE message update

This commit is contained in:
Brendan Gregg
2015-07-14 11:52:39 -07:00
parent 06aa0eb988
commit b6c75ffb5e

View File

@@ -372,5 +372,7 @@ version's function names and platform's register usage.
# trace open() with filename
kprobe -s 'p:myprobe tcp_retransmit_skb'
# show kernel stacks
kprobe 'p:do_sys_open file=+0(%si):string' 'file ~ "*stat"'
# opened files ending in "stat"
See the man page and example file for more info.