diff options
author | Luke Mujica <lukemujica@google.com> | 2019-07-19 16:22:53 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-12 15:26:02 -0400 |
commit | 2b75863b0845764529e01014a5c90664d8044cbe (patch) | |
tree | 4b5deebee572fea77e485c6b24ab5ea49e3b7feb | |
parent | 4fe94ce1c6ba678b5f12b94bb9996eea4fc99e85 (diff) |
perf tools: Fix paths in include statements
These paths point to the wrong location but still work because they get
picked up by a -I flag that happens to direct to the correct file. Fix
paths to lead to the actual file location without help from include
flags.
Signed-off-by: Luke Mujica <lukemujica@google.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/20190719202253.220261-1-lukemujica@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r-- | tools/perf/arch/x86/util/kvm-stat.c | 4 | ||||
-rw-r--r-- | tools/perf/arch/x86/util/tsc.c | 6 | ||||
-rw-r--r-- | tools/perf/ui/helpline.c | 4 | ||||
-rw-r--r-- | tools/perf/ui/util.c | 2 |
4 files changed, 8 insertions, 8 deletions
diff --git a/tools/perf/arch/x86/util/kvm-stat.c b/tools/perf/arch/x86/util/kvm-stat.c index 54a3f2373c35..81b531a707bf 100644 --- a/tools/perf/arch/x86/util/kvm-stat.c +++ b/tools/perf/arch/x86/util/kvm-stat.c | |||
@@ -1,7 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0 | 1 | // SPDX-License-Identifier: GPL-2.0 |
2 | #include <errno.h> | 2 | #include <errno.h> |
3 | #include "../../util/kvm-stat.h" | 3 | #include "../../../util/kvm-stat.h" |
4 | #include "../../util/evsel.h" | 4 | #include "../../../util/evsel.h" |
5 | #include <asm/svm.h> | 5 | #include <asm/svm.h> |
6 | #include <asm/vmx.h> | 6 | #include <asm/vmx.h> |
7 | #include <asm/kvm.h> | 7 | #include <asm/kvm.h> |
diff --git a/tools/perf/arch/x86/util/tsc.c b/tools/perf/arch/x86/util/tsc.c index 950539f9a4f7..b1eb963b4a6e 100644 --- a/tools/perf/arch/x86/util/tsc.c +++ b/tools/perf/arch/x86/util/tsc.c | |||
@@ -5,10 +5,10 @@ | |||
5 | #include <linux/stddef.h> | 5 | #include <linux/stddef.h> |
6 | #include <linux/perf_event.h> | 6 | #include <linux/perf_event.h> |
7 | 7 | ||
8 | #include "../../perf.h" | 8 | #include "../../../perf.h" |
9 | #include <linux/types.h> | 9 | #include <linux/types.h> |
10 | #include "../../util/debug.h" | 10 | #include "../../../util/debug.h" |
11 | #include "../../util/tsc.h" | 11 | #include "../../../util/tsc.h" |
12 | 12 | ||
13 | int perf_read_tsc_conversion(const struct perf_event_mmap_page *pc, | 13 | int perf_read_tsc_conversion(const struct perf_event_mmap_page *pc, |
14 | struct perf_tsc_conversion *tc) | 14 | struct perf_tsc_conversion *tc) |
diff --git a/tools/perf/ui/helpline.c b/tools/perf/ui/helpline.c index b3c421429ed4..54bcd08df87e 100644 --- a/tools/perf/ui/helpline.c +++ b/tools/perf/ui/helpline.c | |||
@@ -3,10 +3,10 @@ | |||
3 | #include <stdlib.h> | 3 | #include <stdlib.h> |
4 | #include <string.h> | 4 | #include <string.h> |
5 | 5 | ||
6 | #include "../debug.h" | 6 | #include "../util/debug.h" |
7 | #include "helpline.h" | 7 | #include "helpline.h" |
8 | #include "ui.h" | 8 | #include "ui.h" |
9 | #include "../util.h" | 9 | #include "../util/util.h" |
10 | 10 | ||
11 | char ui_helpline__current[512]; | 11 | char ui_helpline__current[512]; |
12 | 12 | ||
diff --git a/tools/perf/ui/util.c b/tools/perf/ui/util.c index 63bf06e80ab9..9ed76e88a3e4 100644 --- a/tools/perf/ui/util.c +++ b/tools/perf/ui/util.c | |||
@@ -1,6 +1,6 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0 | 1 | // SPDX-License-Identifier: GPL-2.0 |
2 | #include "util.h" | 2 | #include "util.h" |
3 | #include "../debug.h" | 3 | #include "../util/debug.h" |
4 | 4 | ||
5 | 5 | ||
6 | /* | 6 | /* |