Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'probes-v6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace

Pull probes update from Masami Hiramatsu:

- Update the Kprobes trace event to show the actual function name in
notrace-symbol warning.

Instead of using the user specified symbol name, use "%ps" printk
format to show the actual symbol at the probe address. Since kprobe
event accepts the offset from symbol which is bigger than the symbol
size, the user specified symbol may not be the actual probed symbol.

* tag 'probes-v6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
trace/kprobe: Display the actual notrace function when rejecting a probe

+2 -2
+2 -2
kernel/trace/trace_kprobe.c
··· 487 487 return -EINVAL; 488 488 489 489 if (within_notrace_func(tk)) { 490 - pr_warn("Could not probe notrace function %s\n", 491 - trace_kprobe_symbol(tk)); 490 + pr_warn("Could not probe notrace function %ps\n", 491 + (void *)trace_kprobe_address(tk)); 492 492 return -EINVAL; 493 493 } 494 494