summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorMasami Hiramatsu (Google) <mhiramat@kernel.org>2022-06-07 19:11:02 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2022-06-17 22:53:29 +0300
commitc88dbbcd88c233cb759ec857b57864c5bfcea26a (patch)
tree16478006cd70126e752c8f7b1fea4dde4da07049 /kernel
parent63ce81d1c40459e2d9d28f90e2a3e3863e2f63d4 (diff)
downloadlinux-c88dbbcd88c233cb759ec857b57864c5bfcea26a.tar.xz
fprobe, samples: Add use_trace option and show hit/missed counter
Add use_trace option to use trace_printk() instead of pr_info() so that the handler doesn't involve the RCU operations. And show the hit and missed counter so that the user can check how many times the probe handler hit and missed. Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Jiri Olsa <jolsa@kernel.org> Link: https://lore.kernel.org/bpf/165461826247.280167.11939123218334322352.stgit@devnote2
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions