[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200429060415.25930-2-anju@linux.vnet.ibm.com>
Date: Wed, 29 Apr 2020 11:34:14 +0530
From: Anju T Sudhakar <anju@...ux.vnet.ibm.com>
To: linuxppc-dev@...ts.ozlabs.org
Cc: mpe@...erman.id.au, anju@...ux.vnet.ibm.com, acme@...nel.org,
linux-kernel@...r.kernel.org, maddy@...ux.vnet.ibm.com,
ravi.bangoria@...ux.ibm.com, jolsa@...nel.org
Subject: [PATCH 1/2] tools/perf: set no_auxtrace for powerpc
x86/perf_regs.h is included by util/intel-pt.c, which will get compiled
when buiding perf on powerpc. Since x86/perf_regs.h has
`PERF_EXTENDED_REG_MASK` defined, defining `PERF_EXTENDED_REG_MASK` for
powerpc to add support for perf extended regs will result in perf build
error on powerpc.
Currently powerpc architecture is not having support for auxtrace. So as
a workaround for this issue, set NO_AUXTRACE for powerpc.
Signed-off-by: Anju T Sudhakar <anju@...ux.vnet.ibm.com>
---
tools/perf/arch/powerpc/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/perf/arch/powerpc/Makefile b/tools/perf/arch/powerpc/Makefile
index e58d00d62f02..9ebb5f513605 100644
--- a/tools/perf/arch/powerpc/Makefile
+++ b/tools/perf/arch/powerpc/Makefile
@@ -3,6 +3,7 @@ ifndef NO_DWARF
PERF_HAVE_DWARF_REGS := 1
endif
+NO_AUXTRACE := 1
HAVE_KVM_STAT_SUPPORT := 1
PERF_HAVE_ARCH_REGS_QUERY_REGISTER_OFFSET := 1
PERF_HAVE_JITDUMP := 1
--
2.20.1
Powered by blists - more mailing lists