aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2009-09-09 21:35:20 -0400
committerFrederic Weisbecker <fweisbec@gmail.com>2009-11-08 10:21:01 -0500
commit30ff21e31fe5c8b7b1b7d30cc41e32bc4ee9f175 (patch)
treec3006eaa8f51ca2401c0f5f3600e17cfe6a55148 /kernel/trace
parentba1c813a6b9a0ef14d7112daf51270eff326f037 (diff)
ksym_tracer: Remove KSYM_SELFTEST_ENTRY
The macro used to be used in both trace_selftest.c and trace_ksym.c, but no longer, so remove it from header file. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Cc: Prasad <prasad@linux.vnet.ibm.com> Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Diffstat (limited to 'kernel/trace')
-rw-r--r--kernel/trace/trace.h1
-rw-r--r--kernel/trace/trace_selftest.c3
2 files changed, 2 insertions, 2 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h
index d72f06ff263f..ee00475742eb 100644
--- a/kernel/trace/trace.h
+++ b/kernel/trace/trace.h
@@ -367,7 +367,6 @@ int register_tracer(struct tracer *type);
367void unregister_tracer(struct tracer *type); 367void unregister_tracer(struct tracer *type);
368int is_tracing_stopped(void); 368int is_tracing_stopped(void);
369 369
370#define KSYM_SELFTEST_ENTRY "ksym_selftest_dummy"
371extern int process_new_ksym_entry(char *ksymname, int op, unsigned long addr); 370extern int process_new_ksym_entry(char *ksymname, int op, unsigned long addr);
372 371
373extern unsigned long nsecs_to_usecs(unsigned long nsecs); 372extern unsigned long nsecs_to_usecs(unsigned long nsecs);
diff --git a/kernel/trace/trace_selftest.c b/kernel/trace/trace_selftest.c
index 27c5072c2e6b..dc98309e839a 100644
--- a/kernel/trace/trace_selftest.c
+++ b/kernel/trace/trace_selftest.c
@@ -828,7 +828,8 @@ trace_selftest_startup_ksym(struct tracer *trace, struct trace_array *tr)
828 828
829 ksym_selftest_dummy = 0; 829 ksym_selftest_dummy = 0;
830 /* Register the read-write tracing request */ 830 /* Register the read-write tracing request */
831 ret = process_new_ksym_entry(KSYM_SELFTEST_ENTRY, 831
832 ret = process_new_ksym_entry("ksym_selftest_dummy",
832 HW_BREAKPOINT_R | HW_BREAKPOINT_W, 833 HW_BREAKPOINT_R | HW_BREAKPOINT_W,
833 (unsigned long)(&ksym_selftest_dummy)); 834 (unsigned long)(&ksym_selftest_dummy));
834 835