Re: [PATCH] staging: tracing/kprobe: filter kprobe based perf event

2019-09-18 Thread Jinshan Xiong
That's bloody true. Thanks for your insights. I will make an example program and commit into bcc repository. Jinshan On Wed, Sep 18, 2019 at 1:22 PM Alexei Starovoitov wrote: > > On Wed, Sep 18, 2019 at 8:13 AM Jinshan Xiong wrote: > > > > The problem with th

[PATCH] staging: tracing/kprobe: filter kprobe based perf event

2019-09-17 Thread jinshan . xiong
From: Jinshan Xiong Invoking bpf program only if kprobe based perf_event has been added into the percpu list. This is essential to make event tracing for cgroup to work properly. Signed-off-by: Jinshan Xiong --- kernel/trace/trace_kprobe.c | 13 - 1 file changed, 8 insertions