summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_selftest.c
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2009-09-10 03:35:20 +0200
committerFrederic Weisbecker <fweisbec@gmail.com>2009-11-08 16:21:01 +0100
commit30ff21e31fe5c8b7b1b7d30cc41e32bc4ee9f175 (patch)
treec3006eaa8f51ca2401c0f5f3600e17cfe6a55148 /kernel/trace/trace_selftest.c
parenthw-breakpoints: Arbitrate access to pmu following registers constraints (diff)
downloadlinux-30ff21e31fe5c8b7b1b7d30cc41e32bc4ee9f175.tar.xz
linux-30ff21e31fe5c8b7b1b7d30cc41e32bc4ee9f175.zip
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/trace_selftest.c')
-rw-r--r--kernel/trace/trace_selftest.c3
1 files changed, 2 insertions, 1 deletions
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)
ksym_selftest_dummy = 0;
/* Register the read-write tracing request */
- ret = process_new_ksym_entry(KSYM_SELFTEST_ENTRY,
+
+ ret = process_new_ksym_entry("ksym_selftest_dummy",
HW_BREAKPOINT_R | HW_BREAKPOINT_W,
(unsigned long)(&ksym_selftest_dummy));