From: compudj Date: Mon, 7 Apr 2008 22:05:12 +0000 (+0000) Subject: update X-Git-Tag: v0.12.20~637 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=9f92c61e0644705f85b810d6586eb4aa8c46b7c1;p=lttv.git update git-svn-id: http://ltt.polymtl.ca/svn@2852 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/markers-test/test-mark-speed-edit.c b/markers-test/test-mark-speed-edit.c index 54f7dd2e..da876b1d 100644 --- a/markers-test/test-mark-speed-edit.c +++ b/markers-test/test-mark-speed-edit.c @@ -62,11 +62,16 @@ static void noinline test2(const struct marker *mdata, //asm volatile (""); struct proc_dir_entry *pentry = NULL; +volatile int temp = 10; +volatile int temp2 = 10; + static inline void test(unsigned long arg, unsigned long arg2) { #ifdef CACHEFLUSH wbinvd(); #endif + temp = temp * 100 + 60; + temp2 = temp << 10; //asm volatile (""); //__my_trace_mark(1, kernel_debug_test, NULL, "%d %d %ld %ld", 2, current->pid, arg, arg2); test2(NULL, NULL, 2, current->pid, arg, arg2); diff --git a/markers-test/test-mark-speed-empty.c b/markers-test/test-mark-speed-empty.c index 6db88fbf..00b92081 100644 --- a/markers-test/test-mark-speed-empty.c +++ b/markers-test/test-mark-speed-empty.c @@ -52,11 +52,16 @@ static void noinline test2(const struct marker *mdata, //asm volatile (""); struct proc_dir_entry *pentry = NULL; +volatile int temp = 10; +volatile int temp2 = 10; + static inline void test(unsigned long arg, unsigned long arg2) { #ifdef CACHEFLUSH wbinvd(); #endif + temp = temp * 100 + 60; + temp2 = temp << 10; asm volatile (""); //__my_trace_mark(1, kernel_debug_test, NULL, "%d %d %ld %ld", 2, current->pid, arg, arg2); //__my_trace_mark(0, kernel_debug_test, NULL, "%d %d %ld %ld", 2, current->pid, arg, arg2); diff --git a/markers-test/test-mark-speed-local.c b/markers-test/test-mark-speed-local.c index b402e16d..76c219b1 100644 --- a/markers-test/test-mark-speed-local.c +++ b/markers-test/test-mark-speed-local.c @@ -62,11 +62,16 @@ static void noinline test2(const struct marker *mdata, //asm volatile (""); struct proc_dir_entry *pentry = NULL; +volatile int temp = 10; +volatile int temp2 = 10; + static inline void test(unsigned long arg, unsigned long arg2) { #ifdef CACHEFLUSH wbinvd(); #endif + temp = temp * 100 + 60; + temp2 = temp << 10; //asm volatile (""); //__my_trace_mark(1, kernel_debug_test, NULL, "%d %d %ld %ld", 2, current->pid, arg, arg2); test2(NULL, NULL, 2, 10, arg, arg2); diff --git a/markers-test/test-mark-speed-opt.c b/markers-test/test-mark-speed-opt.c index 39d247e0..9e674aac 100644 --- a/markers-test/test-mark-speed-opt.c +++ b/markers-test/test-mark-speed-opt.c @@ -52,11 +52,16 @@ static void noinline test2(const struct marker *mdata, //asm volatile (""); struct proc_dir_entry *pentry = NULL; +volatile int temp = 10; +volatile int temp2 = 10; + static inline void test(unsigned long arg, unsigned long arg2) { #ifdef CACHEFLUSH wbinvd(); #endif + temp = temp * 100 + 60; + temp2 = temp << 10; //asm volatile (""); //__my_trace_mark(1, kernel_debug_test, NULL, "%d %d %ld %ld", 2, current->pid, arg, arg2); __my_trace_mark(0, kernel_debug_test, NULL, "%d %d %ld %ld", 2, current->pid, arg, arg2); diff --git a/markers-test/test-mark-speed.c b/markers-test/test-mark-speed.c index 4aa4d742..ab55af31 100644 --- a/markers-test/test-mark-speed.c +++ b/markers-test/test-mark-speed.c @@ -52,11 +52,16 @@ static void noinline test2(const struct marker *mdata, //asm volatile (""); struct proc_dir_entry *pentry = NULL; +volatile int temp = 10; +volatile int temp2 = 10; + static inline void test(unsigned long arg, unsigned long arg2) { #ifdef CACHEFLUSH wbinvd(); #endif + temp = temp * 100 + 60; + temp2 = temp << 10; //asm volatile (""); __my_trace_mark(1, kernel_debug_test, NULL, "%d %d %ld %ld", 2, current->pid, arg, arg2); //__my_trace_mark(0, kernel_debug_test, NULL, "%d %d %ld %ld", 2, current->pid, arg, arg2);