aboutsummaryrefslogtreecommitdiffstats
path: root/samples/tracepoints/tracepoint-probe-sample2.c
diff options
context:
space:
mode:
Diffstat (limited to 'samples/tracepoints/tracepoint-probe-sample2.c')
-rw-r--r--samples/tracepoints/tracepoint-probe-sample2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/tracepoints/tracepoint-probe-sample2.c b/samples/tracepoints/tracepoint-probe-sample2.c
index 5e9fcf4afffe..685a5acb4562 100644
--- a/samples/tracepoints/tracepoint-probe-sample2.c
+++ b/samples/tracepoints/tracepoint-probe-sample2.c
@@ -33,6 +33,7 @@ module_init(tp_sample_trace_init);
33void __exit tp_sample_trace_exit(void) 33void __exit tp_sample_trace_exit(void)
34{ 34{
35 unregister_trace_subsys_event(probe_subsys_event); 35 unregister_trace_subsys_event(probe_subsys_event);
36 tracepoint_synchronize_unregister();
36} 37}
37 38
38module_exit(tp_sample_trace_exit); 39module_exit(tp_sample_trace_exit);