From f5d6e6ff17716a649facb16cc0a90a68edbfc920 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Fri, 14 Nov 2008 17:47:41 -0500 Subject: [PATCH] --- yaml --- r: 121139 b: refs/heads/master c: 2504ea5edfebb14133b8571c20785cdc077e07d2 h: refs/heads/master i: 121137: 8b49ccb012fb5338e998635199331d24a4a75d6e 121135: 45a1491b36ebbfea7c701e808b751001ab263885 v: v3 --- [refs] | 2 +- trunk/samples/tracepoints/tracepoint-probe-sample.c | 1 + trunk/samples/tracepoints/tracepoint-probe-sample2.c | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 102a107741c1..2d092ffe546d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a0bca6a59ebc052751eed6e3b182c153495672d8 +refs/heads/master: 2504ea5edfebb14133b8571c20785cdc077e07d2 diff --git a/trunk/samples/tracepoints/tracepoint-probe-sample.c b/trunk/samples/tracepoints/tracepoint-probe-sample.c index 55abfdda4bd4..e3a964889dc7 100644 --- a/trunk/samples/tracepoints/tracepoint-probe-sample.c +++ b/trunk/samples/tracepoints/tracepoint-probe-sample.c @@ -46,6 +46,7 @@ void __exit tp_sample_trace_exit(void) { unregister_trace_subsys_eventb(probe_subsys_eventb); unregister_trace_subsys_event(probe_subsys_event); + tracepoint_synchronize_unregister(); } module_exit(tp_sample_trace_exit); diff --git a/trunk/samples/tracepoints/tracepoint-probe-sample2.c b/trunk/samples/tracepoints/tracepoint-probe-sample2.c index 5e9fcf4afffe..685a5acb4562 100644 --- a/trunk/samples/tracepoints/tracepoint-probe-sample2.c +++ b/trunk/samples/tracepoints/tracepoint-probe-sample2.c @@ -33,6 +33,7 @@ module_init(tp_sample_trace_init); void __exit tp_sample_trace_exit(void) { unregister_trace_subsys_event(probe_subsys_event); + tracepoint_synchronize_unregister(); } module_exit(tp_sample_trace_exit);