From: Pierre-Marc Fournier Date: Sat, 27 Feb 2010 17:09:18 +0000 (-0500) Subject: ust_fork(): reset buffers_to_export to 0 when forking X-Git-Tag: v1.9.1~697 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=cedc01558f93f0d28c027a4d99bbe3e364ca4b97;p=lttng-ust.git 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 --- diff --git a/libust/tracectl.c b/libust/tracectl.c index 916b3548..220d37f6 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();