diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-04-18 10:44:58 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-04-19 12:01:54 -0400 |
commit | 20a9ed280dde6292c529dfdaaf9ce743ef71bb1f (patch) | |
tree | e984aec84ff1af456f8caa4c64139f6c6acab251 | |
parent | 6dcca6df4b73d409628c7b4464c63d4eb9d4d13a (diff) |
perf tools: Use api/fs/tracing_path.h where needed
Instead of getting it out of luck from util.h, where it isn't needed at
all.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-0bqugg5lc5ksla1v4m0dnmc1@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r-- | tools/perf/builtin-ftrace.c | 1 | ||||
-rw-r--r-- | tools/perf/tests/parse-events.c | 1 | ||||
-rw-r--r-- | tools/perf/util/util.h | 1 |
3 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/builtin-ftrace.c b/tools/perf/builtin-ftrace.c index 67d14037c03e..0f34ab7a9ec1 100644 --- a/tools/perf/builtin-ftrace.c +++ b/tools/perf/builtin-ftrace.c | |||
@@ -16,6 +16,7 @@ | |||
16 | 16 | ||
17 | #include "debug.h" | 17 | #include "debug.h" |
18 | #include <subcmd/parse-options.h> | 18 | #include <subcmd/parse-options.h> |
19 | #include <api/fs/tracing_path.h> | ||
19 | #include "evlist.h" | 20 | #include "evlist.h" |
20 | #include "target.h" | 21 | #include "target.h" |
21 | #include "cpumap.h" | 22 | #include "cpumap.h" |
diff --git a/tools/perf/tests/parse-events.c b/tools/perf/tests/parse-events.c index 66ecc3f5f618..f5b77f5c3192 100644 --- a/tools/perf/tests/parse-events.c +++ b/tools/perf/tests/parse-events.c | |||
@@ -9,6 +9,7 @@ | |||
9 | #include <linux/kernel.h> | 9 | #include <linux/kernel.h> |
10 | #include <linux/hw_breakpoint.h> | 10 | #include <linux/hw_breakpoint.h> |
11 | #include <api/fs/fs.h> | 11 | #include <api/fs/fs.h> |
12 | #include <api/fs/tracing_path.h> | ||
12 | 13 | ||
13 | #define PERF_TP_SAMPLE_TYPE (PERF_SAMPLE_RAW | PERF_SAMPLE_TIME | \ | 14 | #define PERF_TP_SAMPLE_TYPE (PERF_SAMPLE_RAW | PERF_SAMPLE_TIME | \ |
14 | PERF_SAMPLE_CPU | PERF_SAMPLE_PERIOD) | 15 | PERF_SAMPLE_CPU | PERF_SAMPLE_PERIOD) |
diff --git a/tools/perf/util/util.h b/tools/perf/util/util.h index 423ed7f8bcc0..d4910e490f20 100644 --- a/tools/perf/util/util.h +++ b/tools/perf/util/util.h | |||
@@ -34,7 +34,6 @@ | |||
34 | #include <sys/ioctl.h> | 34 | #include <sys/ioctl.h> |
35 | #include <linux/kernel.h> | 35 | #include <linux/kernel.h> |
36 | #include <linux/types.h> | 36 | #include <linux/types.h> |
37 | #include <api/fs/tracing_path.h> | ||
38 | 37 | ||
39 | extern char buildid_dir[]; | 38 | extern char buildid_dir[]; |
40 | 39 | ||