OSDN Git Service

perf, bpf: Consider events with attr.bpf_event as side-band events
authorSong Liu <songliubraving@fb.com>
Tue, 26 Feb 2019 00:20:05 +0000 (16:20 -0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 28 Feb 2019 17:20:35 +0000 (14:20 -0300)
commit21038f2baa05a0550f56f010f609a5c871b6a274
treee252e343e0befcd576192907ab8c4ba594b428d1
parentc978b9460fe1d4a1e1effa0abd6bd69b18a098a8
perf, bpf: Consider events with attr.bpf_event as side-band events

Events with attr.bpf_event set should be considered as side-band events,
as they carry information about BPF programs.

Signed-off-by: Song Liu <songliubraving@fb.com>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: kernel-team@fb.com
Cc: netdev@vger.kernel.org
Fixes: 6ee52e2a3fe4 ("perf, bpf: Introduce PERF_RECORD_BPF_EVENT")
Link: http://lkml.kernel.org/r/20190226002019.3748539-2-songliubraving@fb.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
kernel/events/core.c