From b6fd32e3f4dabae19341b4b0631645096ec4b211 Mon Sep 17 00:00:00 2001 From: compudj Date: Mon, 30 Jan 2006 19:41:42 +0000 Subject: [PATCH] Richard Purdie patches : add ARM arch and fix automake for dynamic symbols git-svn-id: http://ltt.polymtl.ca/svn@1502 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/configure.in | 2 +- ltt/branches/poly/facilities/Makefile.am | 2 + .../poly/facilities/kernel_arch_arm.xml | 313 ++++++++++++++++++ ltt/branches/poly/ltt/tracefile.c | 2 + ltt/branches/poly/lttv/lttv/Makefile.am | 5 +- 5 files changed, 322 insertions(+), 2 deletions(-) create mode 100644 ltt/branches/poly/facilities/kernel_arch_arm.xml diff --git a/ltt/branches/poly/configure.in b/ltt/branches/poly/configure.in index e0876f39..fcd76253 100644 --- a/ltt/branches/poly/configure.in +++ b/ltt/branches/poly/configure.in @@ -23,7 +23,7 @@ AC_PREREQ(2.57) AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS) #AC_WITH_LTDL # not needed ? -AM_INIT_AUTOMAKE(LinuxTraceToolkitViewer,0.8.7-26012006) +AM_INIT_AUTOMAKE(LinuxTraceToolkitViewer,0.8.8-30012006) AM_CONFIG_HEADER(config.h) AM_PROG_LIBTOOL diff --git a/ltt/branches/poly/facilities/Makefile.am b/ltt/branches/poly/facilities/Makefile.am index 005ce04e..58f1bee6 100644 --- a/ltt/branches/poly/facilities/Makefile.am +++ b/ltt/branches/poly/facilities/Makefile.am @@ -4,6 +4,7 @@ core.xml \ fs.xml \ ipc.xml \ kernel.xml \ +kernel_arch_arm.xml \ kernel_arch_i386.xml \ stack_arch_i386.xml \ locking.xml \ @@ -19,6 +20,7 @@ core.xml \ fs.xml \ ipc.xml \ kernel.xml \ +kernel_arch_arm.xml \ kernel_arch_i386.xml \ stack_arch_i386.xml \ locking.xml \ diff --git a/ltt/branches/poly/facilities/kernel_arch_arm.xml b/ltt/branches/poly/facilities/kernel_arch_arm.xml new file mode 100644 index 00000000..bf4d6d49 --- /dev/null +++ b/ltt/branches/poly/facilities/kernel_arch_arm.xml @@ -0,0 +1,313 @@ + + The kernel facility has events related to kernel execution status for the arm architecture. + + + + + + + System call entry + Syscall entry number in + entry.S + Address from which call was made + + + + System call exit + + diff --git a/ltt/branches/poly/ltt/tracefile.c b/ltt/branches/poly/ltt/tracefile.c index 5feb97f5..8c3cd6bd 100644 --- a/ltt/branches/poly/ltt/tracefile.c +++ b/ltt/branches/poly/ltt/tracefile.c @@ -921,8 +921,10 @@ static int ltt_get_facility_description(LttFacility *f, break; case LTT_ARCH_TYPE_ARM: text = "_arm"; + break; case LTT_ARCH_TYPE_PPC64: text = "_ppc64"; + break; case LTT_ARCH_TYPE_X86_64: text = "_x86_64"; break; diff --git a/ltt/branches/poly/lttv/lttv/Makefile.am b/ltt/branches/poly/lttv/lttv/Makefile.am index 058e6427..c72f2013 100644 --- a/ltt/branches/poly/lttv/lttv/Makefile.am +++ b/ltt/branches/poly/lttv/lttv/Makefile.am @@ -58,6 +58,9 @@ lttv_real_SOURCES = batchtest.c main.c module.c option.c \ # $(LN_S) -f lttv.1 lttv-gui.1 \ # $(LN_S) -f lttv.1 lttv.real.1 +lttv_real_LDFLAGS = -export-dynamic + if LTTVSTATIC - lttv_real_LDFLAGS = -profile -static + lttv_real_LDFLAGS += -profile -static endif + -- 2.34.1