Commit 20a9ed280dde6292c529dfdaaf9ce743ef71bb1f

Authored by Arnaldo Carvalho de Melo
1 parent 6dcca6df4b

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>

Showing 3 changed files with 2 additions and 1 deletions Side-by-side Diff

tools/perf/builtin-ftrace.c
... ... @@ -16,6 +16,7 @@
16 16  
17 17 #include "debug.h"
18 18 #include <subcmd/parse-options.h>
  19 +#include <api/fs/tracing_path.h>
19 20 #include "evlist.h"
20 21 #include "target.h"
21 22 #include "cpumap.h"
tools/perf/tests/parse-events.c
... ... @@ -9,6 +9,7 @@
9 9 #include <linux/kernel.h>
10 10 #include <linux/hw_breakpoint.h>
11 11 #include <api/fs/fs.h>
  12 +#include <api/fs/tracing_path.h>
12 13  
13 14 #define PERF_TP_SAMPLE_TYPE (PERF_SAMPLE_RAW | PERF_SAMPLE_TIME | \
14 15 PERF_SAMPLE_CPU | PERF_SAMPLE_PERIOD)
tools/perf/util/util.h
... ... @@ -34,7 +34,6 @@
34 34 #include <sys/ioctl.h>
35 35 #include <linux/kernel.h>
36 36 #include <linux/types.h>
37   -#include <api/fs/tracing_path.h>
38 37  
39 38 extern char buildid_dir[];
40 39