Re: [PATCH] kprobes: fix compilation when KPROBE_EVENTS is enabled without kretpobes

2019-04-07 Thread Masami Hiramatsu
On Sat, 6 Apr 2019 17:55:43 +0200 Sven Schnelle wrote: > While implementing kprobes on PA-RISC (without kretprobes) compilation > fails when CONFIG_KPROBE_EVENTS is enabled: > > kernel/trace/trace_kprobe.o: in function `trace_kprobe_create': > kernel/trace/trace_kprobe.c:666: undefined

Re: [PATCH] kprobes: fix compilation when KPROBE_EVENTS is enabled without kretpobes

2019-04-06 Thread Sven Schnelle
Hi Naveen, On Sat, Apr 06, 2019 at 10:52:47PM +0530, Naveen N. Rao wrote: > Sven Schnelle wrote: > > While implementing kprobes on PA-RISC (without kretprobes) compilation > > fails when CONFIG_KPROBE_EVENTS is enabled: > > Thanks for working on that! Is there a specific reason kretprobes is not

Re: [PATCH] kprobes: fix compilation when KPROBE_EVENTS is enabled without kretpobes

2019-04-06 Thread Naveen N. Rao
Sven Schnelle wrote: While implementing kprobes on PA-RISC (without kretprobes) compilation fails when CONFIG_KPROBE_EVENTS is enabled: Thanks for working on that! Is there a specific reason kretprobes is not being enabled on parisc? kernel/trace/trace_kprobe.o: in function

[PATCH] kprobes: fix compilation when KPROBE_EVENTS is enabled without kretpobes

2019-04-06 Thread Sven Schnelle
While implementing kprobes on PA-RISC (without kretprobes) compilation fails when CONFIG_KPROBE_EVENTS is enabled: kernel/trace/trace_kprobe.o: in function `trace_kprobe_create': kernel/trace/trace_kprobe.c:666: undefined reference to `kprobe_on_func_entry' kernel/trace/trace_kprobe.o: in