From cedc01558f93f0d28c027a4d99bbe3e364ca4b97 Mon Sep 17 00:00:00 2001 From: Pierre-Marc Fournier Date: Sat, 27 Feb 2010 12:09:18 -0500 Subject: [PATCH] ust_fork(): reset buffers_to_export to 0 when forking Fixes a bug where the child had a non-null initial value for buffers_to_export --- libust/tracectl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libust/tracectl.c b/libust/tracectl.c index 916b354..220d37f 100644 --- a/libust/tracectl.c +++ b/libust/tracectl.c @@ -1478,6 +1478,7 @@ static void ust_fork(void) list_del(&bc->list); } + buffers_to_export = 0; have_listener = 0; init_socket(); create_listener(); -- 2.34.1