aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/bpf.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2019-08-22 18:40:29 +0000
committerArnaldo Carvalho de Melo <[email protected]>2019-08-26 14:58:22 +0000
commitaeb00b1aeab6dadd72c24f93bea51a46e109c2ba (patch)
tree892b5327ab415f62b61dcd39d6400eb66ef47e6d /tools/perf/tests/bpf.c
parentperf stat: Remove needless headers from stat.h (diff)
downloadkernel-aeb00b1aeab6dadd72c24f93bea51a46e109c2ba.tar.gz
kernel-aeb00b1aeab6dadd72c24f93bea51a46e109c2ba.zip
perf record: Move record_opts and other record decls out of perf.h
And into a separate util/record.h, to better isolate things and make sure that those who use record_opts and the other moved declarations are explicitly including the necessary header. Cc: Adrian Hunter <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Link: https://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/tests/bpf.c')
-rw-r--r--tools/perf/tests/bpf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/tests/bpf.c b/tools/perf/tests/bpf.c
index e16f927f38b6..98642961fc63 100644
--- a/tools/perf/tests/bpf.c
+++ b/tools/perf/tests/bpf.c
@@ -5,6 +5,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
+#include <util/record.h>
#include <util/util.h>
#include <util/bpf-loader.h>
#include <util/evlist.h>