From: Daniel Borkmann <daniel@iogearbox.net>
Date: Fri, 2 Oct 2015 18:42:00 +0200
Commit ea317b267e9d ("bpf: Add new bpf map type to store the pointer
to struct perf_event") added perf_event.h to the main eBPF header, so
it gets included for all users. perf_event.h is actually only needed
from array map side, so lets sanitize this a bit.
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Applied, thanks.
[ Did couple of tests, but lets see if Fengguang's build bot agrees
with me eventually. ;) P.s., the feature of pulling patches from
patchwork is awesome! ]
Agreed. :-)