Skip to contentSkip to conversation

perf tools: Add missing powerpc triplet

PATCH Applied Kim Phillips 3 participants 3 messages May 29, 2017 – Jun 7, 2017 perf events

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 perf tools: Add missing powerpc triplet

On an Ubuntu xenial system, perf annotate says to install powerpc objdump on a system that already has binutils-powerpc-linux-gnu installed. Make perf aware of the missing triplet for the powerpc-linux-gnu target.

---
 tools/perf/arch/common.c | 1 +
 1 file changed, 1 insertion(+)
tools/perf/arch/common.c +1 -0
index 837067f48a4c..6b40e9f01740 100644
@@ -26,6 +26,7 @@ const char *const arm64_triplets[] = {
 
 const char *const powerpc_triplets[] = {
 	"powerpc-unknown-linux-gnu-",
+	"powerpc-linux-gnu-",
 	"powerpc64-unknown-linux-gnu-",
 	"powerpc64-linux-gnu-",
 	"powerpc64le-linux-gnu-",
Signature · 1 line
2.11.0
maintainer Applied
#1 lore raw

Em Mon, May 29, 2017 at 02:27:54PM -0500, Kim Phillips escreveu:

Quoted 7 lines

On an Ubuntu xenial system, perf annotate says to install powerpc objdump on a system that already has binutils-powerpc-linux-gnu installed. Make perf aware of the missing triplet for the powerpc-linux-gnu target.

Thanks, applied.

- Arnaldo

#2 lore raw

[tip:perf/urgent] perf annotate: Add missing powerpc triplet

In reply to Kim Phillips
perf annotate: Add missing powerpc triplet
Commit-ID:  6db47fdec7562b02703e346c10f7f4efdda6af5a
Gitweb:     http://git.kernel.org/tip/6db47fdec7562b02703e346c10f7f4efdda6af5a
Author:     Kim Phillips <[email protected]>
AuthorDate: Mon, 29 May 2017 14:27:54 -0500
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Mon, 5 Jun 2017 14:18:02 -0300

perf annotate: Add missing powerpc triplet

On an Ubuntu xenial system, 'perf annotate' says to install powerpc objdump on a system that already has binutils-powerpc-linux-gnu installed. Make perf aware of the missing triplet for the powerpc-linux-gnu target.

---
 tools/perf/arch/common.c | 1 +
 1 file changed, 1 insertion(+)
tools/perf/arch/common.c +1 -0
index 837067f..6b40e9f 100644
@@ -26,6 +26,7 @@ const char *const arm64_triplets[] = {
 
 const char *const powerpc_triplets[] = {
 	"powerpc-unknown-linux-gnu-",
+	"powerpc-linux-gnu-",
 	"powerpc64-unknown-linux-gnu-",
 	"powerpc64-linux-gnu-",
 	"powerpc64le-linux-gnu-",