aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/trace/trace_ksym.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/trace/trace_ksym.c b/kernel/trace/trace_ksym.c
index 11c74f6404cc..eef97e7c8db7 100644
--- a/kernel/trace/trace_ksym.c
+++ b/kernel/trace/trace_ksym.c
@@ -44,12 +44,12 @@ static unsigned int ksym_tracing_enabled;
44 44
45static HLIST_HEAD(ksym_filter_head); 45static HLIST_HEAD(ksym_filter_head);
46 46
47static DEFINE_MUTEX(ksym_tracer_mutex);
48
47#ifdef CONFIG_PROFILE_KSYM_TRACER 49#ifdef CONFIG_PROFILE_KSYM_TRACER
48 50
49#define MAX_UL_INT 0xffffffff 51#define MAX_UL_INT 0xffffffff
50 52
51static DEFINE_MUTEX(ksym_tracer_mutex);
52
53void ksym_collect_stats(unsigned long hbp_hit_addr) 53void ksym_collect_stats(unsigned long hbp_hit_addr)
54{ 54{
55 struct hlist_node *node; 55 struct hlist_node *node;