perf tools: Use api/fs/tracing_path.h where needed
tip-bot for Arnaldo Carvalho de Melo
merge botCommit-ID: 20a9ed280dde6292c529dfdaaf9ce743ef71bb1f Gitweb: http://git.kernel.org/tip/20a9ed280dde6292c529dfdaaf9ce743ef71bb1f Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Tue, 18 Apr 2017 11:44:58 -0300 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Wed, 19 Apr 2017 13:01:54 -0300
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 <[email protected]>
Cc David Ahern <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Wang Nan <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/builtin-ftrace.c | 1 + tools/perf/tests/parse-events.c | 1 + tools/perf/util/util.h | 1 - 3 files changed, 2 insertions(+), 1 deletion(-)
tools/perf/builtin-ftrace.c +1 -0
@@ -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"
tools/perf/tests/parse-events.c +1 -0
@@ -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)
tools/perf/util/util.h +0 -1
@@ -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[];