fork: don't switch buffer when destroying trace in child
authorPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Fri, 26 Feb 2010 22:46:23 +0000 (17:46 -0500)
committerPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Fri, 26 Feb 2010 22:46:23 +0000 (17:46 -0500)
commit31d392f1a565abd0751302d8c52b9f9e695e051e
treed1906f3fdb92dea5beb3afe2f3daf8a182238273
parent4ed9f99d71822f829c47a5f9b85a1c9f6eb1f32e
fork: don't switch buffer when destroying trace in child

If we do switch the buffer, it switches the parent's buffer, because the both
process' buffers are still the same. This is undesirable. So we add a special
"drop" mode to ltt_trace_destroy.
libust/tracectl.c
libust/tracer.c
libust/tracer.h
tests/hello/hello.c
This page took 0.025114 seconds and 4 git commands to generate.