diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-22 15:40:29 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-26 11:58:22 -0300 |
commit | aeb00b1aeab6dadd72c24f93bea51a46e109c2ba (patch) | |
tree | 892b5327ab415f62b61dcd39d6400eb66ef47e6d /tools/perf/tests/openat-syscall-tp-fields.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/openat-syscall-tp-fields.c')
-rw-r--r-- | tools/perf/tests/openat-syscall-tp-fields.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/tests/openat-syscall-tp-fields.c b/tools/perf/tests/openat-syscall-tp-fields.c index 9c06130d37be..62492106fb5e 100644 --- a/tools/perf/tests/openat-syscall-tp-fields.c +++ b/tools/perf/tests/openat-syscall-tp-fields.c @@ -1,12 +1,13 @@ // SPDX-License-Identifier: GPL-2.0 +#include <stdbool.h> #include <linux/err.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> -#include "perf.h" #include "evlist.h" #include "evsel.h" #include "thread_map.h" +#include "record.h" #include "tests.h" #include "debug.h" #include <errno.h> |