Commit 2b75863b authored by Luke Mujica's avatar Luke Mujica Committed by Arnaldo Carvalho de Melo
Browse files

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: default avatarLuke 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: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 4fe94ce1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
// 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>
+3 −3
Original line number Diff line number Diff line
@@ -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)
+2 −2
Original line number Diff line number Diff line
@@ -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];

+1 −1
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0
#include "util.h"
#include "../debug.h"
#include "../util/debug.h"


/*