aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/bpf-script-example.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2016-07-11 13:28:48 +0000
committerArnaldo Carvalho de Melo <[email protected]>2016-07-12 18:20:31 +0000
commitc4b6014e8bb0c8d47fe5c71ebc604f31091e5d3f (patch)
tree9aeaecf98dbe4ab2ac7e517f2be942d46c33b569 /tools/perf/tests/bpf-script-example.c
parentperf tools: event.h needs asm/perf_regs.h (diff)
downloadkernel-c4b6014e8bb0c8d47fe5c71ebc604f31091e5d3f.tar.gz
kernel-c4b6014e8bb0c8d47fe5c71ebc604f31091e5d3f.zip
tools: Add copy of perf_event.h to tools/include/linux/
We shouldn't use headers from the kernel sources directly, instead we should use the system's headers or in cases where that isn't possible, like with perf_event.h, where the introduction of kernel features such as perf_event_attr.{write_backwards,sample_max_stack} and PERF_EVENT_IOC_PAUSE_OUTPUT take some time to become available in /usr/include/linux/perf_event.h we need a copy. Do it and check for source code drift, emitting a warning when changes are detected. Cc: Adrian Hunter <[email protected]> Cc: David Ahern <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Wang Nan <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/tests/bpf-script-example.c')
0 files changed, 0 insertions, 0 deletions