1
0
Fork 0

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>
alistair/sunxi64-5.4-dsi
Luke Mujica 2019-07-19 13:22:53 -07:00 committed by Arnaldo Carvalho de Melo
parent 4fe94ce1c6
commit 2b75863b08
4 changed files with 8 additions and 8 deletions

View File

@ -1,7 +1,7 @@
// SPDX-License-Identifier: GPL-2.0
#include <errno.h>
#include "../../util/kvm-stat.h"
#include "../../util/evsel.h"
#include "../../../util/kvm-stat.h"
#include "../../../util/evsel.h"
#include <asm/svm.h>
#include <asm/vmx.h>
#include <asm/kvm.h>

View File

@ -5,10 +5,10 @@
#include <linux/stddef.h>
#include <linux/perf_event.h>
#include "../../perf.h"
#include "../../../perf.h"
#include <linux/types.h>
#include "../../util/debug.h"
#include "../../util/tsc.h"
#include "../../../util/debug.h"
#include "../../../util/tsc.h"
int perf_read_tsc_conversion(const struct perf_event_mmap_page *pc,
struct perf_tsc_conversion *tc)

View File

@ -3,10 +3,10 @@
#include <stdlib.h>
#include <string.h>
#include "../debug.h"
#include "../util/debug.h"
#include "helpline.h"
#include "ui.h"
#include "../util.h"
#include "../util/util.h"
char ui_helpline__current[512];

View File

@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
#include "util.h"
#include "../debug.h"
#include "../util/debug.h"
/*