perf tools: Use api/fs/tracing_path.h where needed
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 18 Apr 2017 14:44:58 +0000 (11:44 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 Apr 2017 16:01:54 +0000 (13:01 -0300)
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>
tools/perf/builtin-ftrace.c
tools/perf/tests/parse-events.c
tools/perf/util/util.h

index 67d14037c03e780cb87b076ac193f7c66474c0c7..0f34ab7a9ec12ba50373448c5b79f3001e503b10 100644 (file)
@@ -16,6 +16,7 @@
 
 #include "debug.h"
 #include <subcmd/parse-options.h>
+#include <api/fs/tracing_path.h>
 #include "evlist.h"
 #include "target.h"
 #include "cpumap.h"
index 66ecc3f5f618bf77f1a1f7cc24990d29d23e72af..f5b77f5c3192e267c69a786ed92eb10f25ec1a62 100644 (file)
@@ -9,6 +9,7 @@
 #include <linux/kernel.h>
 #include <linux/hw_breakpoint.h>
 #include <api/fs/fs.h>
+#include <api/fs/tracing_path.h>
 
 #define PERF_TP_SAMPLE_TYPE (PERF_SAMPLE_RAW | PERF_SAMPLE_TIME | \
                             PERF_SAMPLE_CPU | PERF_SAMPLE_PERIOD)
index 423ed7f8bcc00fb8e3a78d3691f94f6a37fac866..d4910e490f20f1b0743e039ad142932de32053b1 100644 (file)
@@ -34,7 +34,6 @@
 #include <sys/ioctl.h>
 #include <linux/kernel.h>
 #include <linux/types.h>
-#include <api/fs/tracing_path.h>
 
 extern char buildid_dir[];