Re: [PATCH V3 03/13] kprobes: Add symbols for kprobe insn pages

From: Masami Hiramatsu
Date: Fri Feb 28 2020 - 23:50:17 EST


On Fri, 28 Feb 2020 18:20:04 +0100
Jiri Olsa <jolsa@xxxxxxxxxx> wrote:

> > BTW, it seems to pretend to be a module, but is there no concern of
> > confusing users? Shouldn't it be [*kprobes] so that it is non-exist
> > module name?
>
> note we already have bpf symbols as [bpf] module

Yeah, and this series adds [kprobe(s)] and [ftrace] too.
I simply concern that the those module names implicitly become
special word (rule) and embedded in the code. If such module names
are not exposed to users, it is OK (but I hope to have some comments).
However, it is under /proc, which means users can notice it.

Thank you,

--
Masami Hiramatsu <mhiramat@xxxxxxxxxx>