diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-22 14:40:29 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-26 10:58:22 -0400 |
commit | aeb00b1aeab6dadd72c24f93bea51a46e109c2ba (patch) | |
tree | 892b5327ab415f62b61dcd39d6400eb66ef47e6d /tools/perf/tests/backward-ring-buffer.c | |
parent | 38b7b678fe989f9c403c001d96887939aaa1b68a (diff) |
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 <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-31q8mei1qkh74qvkl9nwidfq@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/tests/backward-ring-buffer.c')
-rw-r--r-- | tools/perf/tests/backward-ring-buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/tests/backward-ring-buffer.c b/tools/perf/tests/backward-ring-buffer.c index 9bdf66139099..b6f27ef9fb02 100644 --- a/tools/perf/tests/backward-ring-buffer.c +++ b/tools/perf/tests/backward-ring-buffer.c | |||
@@ -4,9 +4,9 @@ | |||
4 | * beginning | 4 | * beginning |
5 | */ | 5 | */ |
6 | 6 | ||
7 | #include <perf.h> | ||
8 | #include <evlist.h> | 7 | #include <evlist.h> |
9 | #include <sys/prctl.h> | 8 | #include <sys/prctl.h> |
9 | #include "record.h" | ||
10 | #include "tests.h" | 10 | #include "tests.h" |
11 | #include "debug.h" | 11 | #include "debug.h" |
12 | #include <errno.h> | 12 | #include <errno.h> |