Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5b9261d9 authored by Mathieu Desnoyers's avatar Mathieu Desnoyers Committed by Ingo Molnar
Browse files

sputrace: use marker_synchronize_unregister()



We need a marker_synchronize_unregister() before the end of exit() to make sure
every probe callers have exited the non preemptible section and thus are not
executing the probe code anymore.

Signed-off-by: default avatarMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Acked-by: default avatarJeremy Kerr <jk@ozlabs.org>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 91a8d46c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -232,6 +232,7 @@ static void __exit sputrace_exit(void)

	remove_proc_entry("sputrace", NULL);
	kfree(sputrace_log);
	marker_synchronize_unregister();
}

module_init(sputrace_init);