1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-02 01:19:52 +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,18 @@
Index: git/util.h
===================================================================
--- git.orig/util.h 2010-12-07 22:41:57.156243001 -0600
+++ git/util.h 2010-12-07 22:43:47.616243002 -0600
@@ -37,4 +37,13 @@
#define cpu_relax() asm volatile("" ::: "memory");
#endif
+#ifdef __arm__
+/*
+ * Use the __kuser_memory_barrier helper in the CPU helper page. See
+ * arch/arm/kernel/entry-armv.S in the kernel source for details.
+ */
+#define rmb() ((void(*)(void))0xffff0fa0)()
+#define cpu_relax() asm volatile("":::"memory")
+#endif
+
#endif