Skip to content

Commit

Permalink
perf tools: Fix include paths in ui directory
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ian Rogers authored and Arnaldo Carvalho de Melo committed Aug 8, 2019
1 parent 89b6650 commit fa37bab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions tools/perf/ui/browser.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// SPDX-License-Identifier: GPL-2.0
#include "../string2.h"
#include "../config.h"
#include "../../perf.h"
#include "../util/util.h"
#include "../util/string2.h"
#include "../util/config.h"
#include "../perf.h"
#include "libslang.h"
#include "ui.h"
#include "util.h"
Expand All @@ -14,7 +15,7 @@
#include "browser.h"
#include "helpline.h"
#include "keysyms.h"
#include "../color.h"
#include "../util/color.h"
#include <linux/ctype.h>
#include <linux/zalloc.h>

Expand Down
2 changes: 1 addition & 1 deletion tools/perf/ui/tui/progress.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
#include <linux/kernel.h>
#include "../cache.h"
#include "../../util/cache.h"
#include "../progress.h"
#include "../libslang.h"
#include "../ui.h"
Expand Down

0 comments on commit fa37bab

Please sign in to comment.