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>
This commit is contained in:
parent
4fe94ce1c6
commit
2b75863b08
|
@ -1,7 +1,7 @@
|
||||||
// SPDX-License-Identifier: GPL-2.0
|
// SPDX-License-Identifier: GPL-2.0
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include "../../util/kvm-stat.h"
|
#include "../../../util/kvm-stat.h"
|
||||||
#include "../../util/evsel.h"
|
#include "../../../util/evsel.h"
|
||||||
#include <asm/svm.h>
|
#include <asm/svm.h>
|
||||||
#include <asm/vmx.h>
|
#include <asm/vmx.h>
|
||||||
#include <asm/kvm.h>
|
#include <asm/kvm.h>
|
||||||
|
|
|
@ -5,10 +5,10 @@
|
||||||
#include <linux/stddef.h>
|
#include <linux/stddef.h>
|
||||||
#include <linux/perf_event.h>
|
#include <linux/perf_event.h>
|
||||||
|
|
||||||
#include "../../perf.h"
|
#include "../../../perf.h"
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
#include "../../util/debug.h"
|
#include "../../../util/debug.h"
|
||||||
#include "../../util/tsc.h"
|
#include "../../../util/tsc.h"
|
||||||
|
|
||||||
int perf_read_tsc_conversion(const struct perf_event_mmap_page *pc,
|
int perf_read_tsc_conversion(const struct perf_event_mmap_page *pc,
|
||||||
struct perf_tsc_conversion *tc)
|
struct perf_tsc_conversion *tc)
|
||||||
|
|
|
@ -3,10 +3,10 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "../debug.h"
|
#include "../util/debug.h"
|
||||||
#include "helpline.h"
|
#include "helpline.h"
|
||||||
#include "ui.h"
|
#include "ui.h"
|
||||||
#include "../util.h"
|
#include "../util/util.h"
|
||||||
|
|
||||||
char ui_helpline__current[512];
|
char ui_helpline__current[512];
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// SPDX-License-Identifier: GPL-2.0
|
// SPDX-License-Identifier: GPL-2.0
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "../debug.h"
|
#include "../util/debug.h"
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue