Skip to content

Commit 5cf0e8e

Browse files
captain5050acmel
authored andcommitted
perf libdw: Fix off-by 1 relative directory includes
This is currently working due to extra include paths in the build. Before: $ cd tools/perf/arch/arm64/util $ ls -la ../../util/unwind-libdw.h ls: cannot access '../../util/unwind-libdw.h': No such file or directory After: $ ls -la ../../../util/unwind-libdw.h -rw-r----- 1 irogers irogers 553 Apr 17 14:31 ../../../util/unwind-libdw.h Signed-off-by: Ian Rogers <[email protected]> Acked-by: Namhyung Kim <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent a54ca19 commit 5cf0e8e

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

tools/perf/arch/arm64/util/unwind-libdw.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// SPDX-License-Identifier: GPL-2.0
22
#include <elfutils/libdwfl.h>
3-
#include "../../util/unwind-libdw.h"
4-
#include "../../util/perf_regs.h"
5-
#include "../../util/event.h"
3+
#include "../../../util/unwind-libdw.h"
4+
#include "../../../util/perf_regs.h"
5+
#include "../../../util/event.h"
66

77
bool libdw__arch_set_initial_registers(Dwfl_Thread *thread, void *arg)
88
{

tools/perf/arch/powerpc/util/unwind-libdw.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// SPDX-License-Identifier: GPL-2.0
22
#include <elfutils/libdwfl.h>
33
#include <linux/kernel.h>
4-
#include "../../util/unwind-libdw.h"
5-
#include "../../util/perf_regs.h"
6-
#include "../../util/event.h"
4+
#include "../../../util/unwind-libdw.h"
5+
#include "../../../util/perf_regs.h"
6+
#include "../../../util/event.h"
77

88
/* See backends/ppc_initreg.c and backends/ppc_regs.c in elfutils. */
99
static const int special_regs[3][2] = {

tools/perf/arch/x86/util/unwind-libdw.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// SPDX-License-Identifier: GPL-2.0
22
#include <elfutils/libdwfl.h>
3-
#include "../../util/unwind-libdw.h"
4-
#include "../../util/perf_regs.h"
5-
#include "../../util/event.h"
3+
#include "../../../util/unwind-libdw.h"
4+
#include "../../../util/perf_regs.h"
5+
#include "../../../util/event.h"
66

77
bool libdw__arch_set_initial_registers(Dwfl_Thread *thread, void *arg)
88
{

0 commit comments

Comments
 (0)