From: compudj Date: Mon, 7 Apr 2008 22:46:47 +0000 (+0000) Subject: update X-Git-Tag: v0.12.20~636 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=9ac1bcd9e0502a9fed8c5914bbbccd04a9b6df22;p=lttv.git update git-svn-id: http://ltt.polymtl.ca/svn@2853 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/markers-test/test-mark-speed-edit.c b/markers-test/test-mark-speed-edit.c index da876b1d..fd37c773 100644 --- a/markers-test/test-mark-speed-edit.c +++ b/markers-test/test-mark-speed-edit.c @@ -63,7 +63,6 @@ static void noinline test2(const struct marker *mdata, struct proc_dir_entry *pentry = NULL; volatile int temp = 10; -volatile int temp2 = 10; static inline void test(unsigned long arg, unsigned long arg2) { @@ -71,7 +70,7 @@ static inline void test(unsigned long arg, unsigned long arg2) wbinvd(); #endif temp = temp * 100 + 60; - temp2 = temp << 10; + temp = 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 00b92081..20bcc621 100644 --- a/markers-test/test-mark-speed-empty.c +++ b/markers-test/test-mark-speed-empty.c @@ -53,7 +53,6 @@ static void noinline test2(const struct marker *mdata, struct proc_dir_entry *pentry = NULL; volatile int temp = 10; -volatile int temp2 = 10; static inline void test(unsigned long arg, unsigned long arg2) { @@ -61,7 +60,7 @@ static inline void test(unsigned long arg, unsigned long arg2) wbinvd(); #endif temp = temp * 100 + 60; - temp2 = temp << 10; + temp = 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 76c219b1..9393f0ff 100644 --- a/markers-test/test-mark-speed-local.c +++ b/markers-test/test-mark-speed-local.c @@ -63,7 +63,6 @@ static void noinline test2(const struct marker *mdata, struct proc_dir_entry *pentry = NULL; volatile int temp = 10; -volatile int temp2 = 10; static inline void test(unsigned long arg, unsigned long arg2) { @@ -71,7 +70,7 @@ static inline void test(unsigned long arg, unsigned long arg2) wbinvd(); #endif temp = temp * 100 + 60; - temp2 = temp << 10; + temp = 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 9e674aac..1800dea7 100644 --- a/markers-test/test-mark-speed-opt.c +++ b/markers-test/test-mark-speed-opt.c @@ -53,7 +53,6 @@ static void noinline test2(const struct marker *mdata, struct proc_dir_entry *pentry = NULL; volatile int temp = 10; -volatile int temp2 = 10; static inline void test(unsigned long arg, unsigned long arg2) { @@ -61,7 +60,7 @@ static inline void test(unsigned long arg, unsigned long arg2) wbinvd(); #endif temp = temp * 100 + 60; - temp2 = temp << 10; + temp = 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 ab55af31..bec60164 100644 --- a/markers-test/test-mark-speed.c +++ b/markers-test/test-mark-speed.c @@ -53,7 +53,6 @@ static void noinline test2(const struct marker *mdata, struct proc_dir_entry *pentry = NULL; volatile int temp = 10; -volatile int temp2 = 10; static inline void test(unsigned long arg, unsigned long arg2) { @@ -61,7 +60,7 @@ static inline void test(unsigned long arg, unsigned long arg2) wbinvd(); #endif temp = temp * 100 + 60; - temp2 = temp << 10; + temp = 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);