ust_fork(): reset buffers_to_export to 0 when forking
authorPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Sat, 27 Feb 2010 17:09:18 +0000 (12:09 -0500)
committerPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Sat, 27 Feb 2010 17:09:18 +0000 (12:09 -0500)
Fixes a bug where the child had a non-null initial value for buffers_to_export

libust/tracectl.c

index 916b3548eee3de1f953713159c44794431c9874f..220d37f6f0bb347b22587c98bbcee6ee6e0857cf 100644 (file)
@@ -1478,6 +1478,7 @@ static void ust_fork(void)
                list_del(&bc->list);
        }
 
+       buffers_to_export = 0;
        have_listener = 0;
        init_socket();
        create_listener();
This page took 0.025062 seconds and 4 git commands to generate.