1
0
mirror of https://git.yoctoproject.org/poky synced 2026-07-27 07:27:12 +00:00

sysprof: add system-wide performance profiler for Linux.

[sgw@linux.intel.com: alpha'ed poky-default-revision.inc and fix commit message]
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
This commit is contained in:
Tom Zanussi
2010-12-08 01:50:04 -06:00
committed by Saul Wold
parent 732a117c77
commit 8d702d76ff
6 changed files with 76 additions and 1 deletions
@@ -0,0 +1,13 @@
Index: git/collector.c
===================================================================
--- git.orig/collector.c 2010-12-09 19:42:12.292040001 -0600
+++ git/collector.c 2010-12-09 19:42:23.352039997 -0600
@@ -175,7 +175,7 @@
#define __NR_perf_counter_open 337
#elif defined(__hppa__)
#define __NR_perf_counter_open 318
-#elif defined(__ppc__) || defined(__ppc64__)
+#elif defined(__powerpc__) || defined(__powerpc64__)
#define __NR_perf_counter_open 319
#elif defined(__s390__)
#define __NR_perf_counter_open 331