aboutsummaryrefslogtreecommitdiffstats
path: root/samples/tracepoints/tracepoint-probe-sample.c
diff options
context:
space:
mode:
Diffstat (limited to 'samples/tracepoints/tracepoint-probe-sample.c')
-rw-r--r--samples/tracepoints/tracepoint-probe-sample.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/tracepoints/tracepoint-probe-sample.c b/samples/tracepoints/tracepoint-probe-sample.c
index e3a964889dc7..9e60eb6ca2d8 100644
--- a/samples/tracepoints/tracepoint-probe-sample.c
+++ b/samples/tracepoints/tracepoint-probe-sample.c
@@ -28,7 +28,7 @@ static void probe_subsys_eventb(void)
28 printk(KERN_INFO "Event B is encountered\n"); 28 printk(KERN_INFO "Event B is encountered\n");
29} 29}
30 30
31int __init tp_sample_trace_init(void) 31static int __init tp_sample_trace_init(void)
32{ 32{
33 int ret; 33 int ret;
34 34
@@ -42,7 +42,7 @@ int __init tp_sample_trace_init(void)
42 42
43module_init(tp_sample_trace_init); 43module_init(tp_sample_trace_init);
44 44
45void __exit tp_sample_trace_exit(void) 45static void __exit tp_sample_trace_exit(void)
46{ 46{
47 unregister_trace_subsys_eventb(probe_subsys_eventb); 47 unregister_trace_subsys_eventb(probe_subsys_eventb);
48 unregister_trace_subsys_event(probe_subsys_event); 48 unregister_trace_subsys_event(probe_subsys_event);