Re: [RFC PATCH v2 1/4] bpf: Put perf_events check ahead of bpf prog

From: Alexei Starovoitov
Date: Thu Jul 02 2015 - 14:42:00 EST


On 7/2/15 6:50 AM, He Kuang wrote:
When we add a kprobe point and record events by perf, the execution path
of all threads on each cpu will enter this point, but perf may only
record events on a particular thread or cpu at this kprobe point, a
check on call->perf_events list filters out the threads which perf is
not recording.

as explained in the other thread, I don't like this patch at all.
please let discussion come to conclusion first before resending
the same stuff over and over.

btw, I'll be off-grid till Sunday due to July 4 holidays.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/