diff options
author | Numfor Mbiziwo-Tiapo <nums@google.com> | 2019-06-20 14:54:46 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-06-25 08:47:09 -0300 |
commit | 2d7102a0453769fd37e9f4ce68652e104fbf5c84 (patch) | |
tree | 8d98aa1289bc9868f5cb9b6c669bb137d007d9d8 /tools | |
parent | fd7d55172d1e2e501e6da0a5c1de25f06612dc2e (diff) | |
download | linux-stable-2d7102a0453769fd37e9f4ce68652e104fbf5c84.tar.gz linux-stable-2d7102a0453769fd37e9f4ce68652e104fbf5c84.tar.bz2 linux-stable-2d7102a0453769fd37e9f4ce68652e104fbf5c84.zip |
perf tools: Fix cache.h include directive
Change the include path so that progress.c can find cache.h since it was
previously searching in the wrong directory.
Committer notes:
$ ls -la tools/perf/ui/../cache.h
ls: cannot access 'tools/perf/ui/../cache.h': No such file or directory
So it really should include ../../util/cache.h, or plain cache.h, since
we have -Iutil in INC_FLAGS in tools/perf/Makefile.config
Signed-off-by: Numfor Mbiziwo-Tiapo <nums@google.com>
Cc: Jiri Olsa <jolsa@redhat.com>,
Cc: Luke Mujica <lukemujica@google.com>,
Cc: Stephane Eranian <eranian@google.com>
To: Ian Rogers <irogers@google.com>
Link: https://lkml.kernel.org/n/tip-pud8usyutvd2npg2vpsygncz@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/ui/progress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/ui/progress.c b/tools/perf/ui/progress.c index bbfbc91a0fa4..8cd3b64c6893 100644 --- a/tools/perf/ui/progress.c +++ b/tools/perf/ui/progress.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 #include <linux/kernel.h> -#include "../cache.h" +#include "../util/cache.h" #include "progress.h" static void null_progress__update(struct ui_progress *p __maybe_unused) |