8886dca03c
Add sysprof - preformance profiler for Linux - to the development tools. Patches for mips/arm are from openembedded code. sysprof-cli <outfile> get required events/stack frames. Next outfile can be loaded/displayed on PC using sysprof. Tool using: - PERF events - /proc/kallsyms for kernel symbols You should compile kernel with profiling enabled, debug information, symbol table information. Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/packages@38466 3c298f89-4303-0410-b956-a3cf2f4a3e73
23 lines
584 B
Diff
23 lines
584 B
Diff
On uclibc elf.h does not have GNU extentions but we need this define
|
|
so we define it locally if its not getting it from elf.h
|
|
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
Upstream-Status: Pending
|
|
|
|
Index: git/elfparser.h
|
|
===================================================================
|
|
--- git.orig/elfparser.h 2011-07-16 18:57:41.000000000 -0700
|
|
+++ git/elfparser.h 2011-07-16 20:28:54.733829895 -0700
|
|
@@ -17,6 +17,10 @@
|
|
*/
|
|
#include <glib.h>
|
|
|
|
+#ifndef NT_GNU_BUILD_ID
|
|
+#define NT_GNU_BUILD_ID 3
|
|
+#endif
|
|
+
|
|
typedef struct ElfSym ElfSym;
|
|
typedef struct ElfParser ElfParser;
|
|
|