From 00c475d60474005a643313f8f80f23ac908d8ae4 Mon Sep 17 00:00:00 2001 From: Pierre-Marc Fournier Date: Mon, 5 Oct 2009 15:48:52 -0400 Subject: [PATCH] libust: never inline functions that may be called from external components --- libust/tracectl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libust/tracectl.c b/libust/tracectl.c index b20fe69..f9d035d 100644 --- a/libust/tracectl.c +++ b/libust/tracectl.c @@ -1128,7 +1128,7 @@ static void __attribute__((destructor)) keepalive() ustcomm_fini_app(&ustcomm_app); } -void ust_potential_exec(void) +noinline void ust_potential_exec(void) { trace_mark(ust, potential_exec, MARK_NOARGS); @@ -1141,7 +1141,7 @@ void ust_potential_exec(void) * of the new process will not be collected. */ -void ust_fork(void) +noinline void ust_fork(void) { struct blocked_consumer *bc; struct blocked_consumer *deletable_bc = NULL; -- 2.34.1