Skip to content

Commit fa37bab

Browse files
captain5050acmel
authored andcommitted
perf tools: Fix include paths in ui directory
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 point to the correct location without -I flags. Signed-off-by: Ian Rogers <irogers@google.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/r/20190731225441.233800-1-irogers@google.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent 89b6650 commit fa37bab

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

‎tools/perf/ui/browser.c‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
// SPDX-License-Identifier: GPL-2.0
2-
#include "../string2.h"
3-
#include "../config.h"
4-
#include "../../perf.h"
2+
#include "../util/util.h"
3+
#include "../util/string2.h"
4+
#include "../util/config.h"
5+
#include "../perf.h"
56
#include "libslang.h"
67
#include "ui.h"
78
#include "util.h"
@@ -14,7 +15,7 @@
1415
#include "browser.h"
1516
#include "helpline.h"
1617
#include "keysyms.h"
17-
#include "../color.h"
18+
#include "../util/color.h"
1819
#include <linux/ctype.h>
1920
#include <linux/zalloc.h>
2021

‎tools/perf/ui/tui/progress.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// SPDX-License-Identifier: GPL-2.0
22
#include <linux/kernel.h>
3-
#include "../cache.h"
3+
#include "../../util/cache.h"
44
#include "../progress.h"
55
#include "../libslang.h"
66
#include "../ui.h"

0 commit comments

Comments
 (0)