From ac493dbc901ee39cbcdfda9432d2b8f64005f1b3 Mon Sep 17 00:00:00 2001 From: compudj Date: Mon, 19 Jun 2006 15:04:08 +0000 Subject: [PATCH] update for v2.6.17 git-svn-id: http://ltt.polymtl.ca/svn@1934 04897980-b3bd-0310-b5e0-8ef037075253 --- genevent/genevent.c | 4 +- ltt-control/facilities/kernel_arch_c2.xml | 52 +++++++++++++- ltt-control/facilities/kernel_arch_i386.xml | 27 +++++++- ltt-control/facilities/kernel_arch_mips.xml | 69 +++++++++++++++++++ .../facilities/kernel_arch_powerpc.xml | 22 +++++- ltt-control/facilities/kernel_arch_ppc.xml | 22 +++++- ltt-usertrace/ltt/ltt-usertrace.h | 18 ++--- 7 files changed, 194 insertions(+), 20 deletions(-) diff --git a/genevent/genevent.c b/genevent/genevent.c index c788d85a..faf362e5 100644 --- a/genevent/genevent.c +++ b/genevent/genevent.c @@ -1508,7 +1508,7 @@ int print_event_logging_function(char *basename, facility_t *fac, print_tabs(1, fd); fprintf(fd, "preempt_disable();\n"); print_tabs(1, fd); - fprintf(fd, "ltt_nesting[smp_processor_id()]++;\n"); + fprintf(fd, "current->ltt_nesting++;\n"); /* Get facility index */ @@ -1632,7 +1632,7 @@ int print_event_logging_function(char *basename, facility_t *fac, /* Release locks */ print_tabs(1, fd); - fprintf(fd, "ltt_nesting[smp_processor_id()]--;\n"); + fprintf(fd, "current->ltt_nesting--;\n"); print_tabs(1, fd); fprintf(fd, "preempt_enable_no_resched();\n"); diff --git a/ltt-control/facilities/kernel_arch_c2.xml b/ltt-control/facilities/kernel_arch_c2.xml index 11197a17..7aef352b 100644 --- a/ltt-control/facilities/kernel_arch_c2.xml +++ b/ltt-control/facilities/kernel_arch_c2.xml @@ -1,7 +1,7 @@ The kernel facility has events related to kernel execution status - for the C2 architecture. + for the MIPS architecture. System call entry - Syscall entry number in entry.S + Syscall entry number in + entry.S Address from which call was made diff --git a/ltt-control/facilities/kernel_arch_i386.xml b/ltt-control/facilities/kernel_arch_i386.xml index ecab0764..d022843a 100644 --- a/ltt-control/facilities/kernel_arch_i386.xml +++ b/ltt-control/facilities/kernel_arch_i386.xml @@ -295,8 +295,31 @@