Messages in this thread | | | Subject | Re: [PATCH V2 03/13] kprobes: Add symbols for kprobe insn pages | From | Adrian Hunter <> | Date | Thu, 27 Feb 2020 09:13:51 +0200 |
| |
On 26/02/20 5:22 pm, Jiri Olsa wrote: > On Wed, Feb 12, 2020 at 02:49:39PM +0200, Adrian Hunter wrote: >> Symbols are needed for tools to describe instruction addresses. Pages >> allocated for kprobe's purposes need symbols to be created for them. >> Add such symbols to be visible via /proc/kallsyms. > > I can't see kprobes in /proc/kallsyms, I tried making some with > perf probe and some of bcc-tools.. I'm greping for [kprobe] > > could you put to changelog soem example /proc/kallsyms output?
Will do. See also the examples in patch 13.
For kprobes you need:
# CONFIG_FUNCTION_TRACER is not set
otherwise the kprobes are done by ftrace.
| |