bpf: perf event change needed for subsequent bpf helpers
authorYonghong Song <yhs@fb.com>
Thu, 5 Oct 2017 16:19:19 +0000 (09:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Oct 2017 22:05:57 +0000 (23:05 +0100)
commit97562633bcbac4a07d605ae628d7655fa71caaf5
treee1bda190d84a5f9d430b90c3b4934e71be441beb
parentbdc476413dcdb5c38a7dec90fb2bca327021273a
bpf: perf event change needed for subsequent bpf helpers

This patch does not impact existing functionalities.
It contains the changes in perf event area needed for
subsequent bpf_perf_event_read_value and
bpf_perf_prog_read_value helpers.

Signed-off-by: Yonghong Song <yhs@fb.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/perf_event.h
kernel/bpf/arraymap.c
kernel/events/core.c
kernel/trace/bpf_trace.c