From: compudj Date: Mon, 19 Jun 2006 15:04:08 +0000 (+0000) Subject: update for v2.6.17 X-Git-Tag: v0.12.20~1555 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=ac493dbc901ee39cbcdfda9432d2b8f64005f1b3;p=lttv.git update for v2.6.17 git-svn-id: http://ltt.polymtl.ca/svn@1934 04897980-b3bd-0310-b5e0-8ef037075253 --- 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 @@