Implement ring buffer periodic buffer switch timer
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 6 Mar 2013 01:03:37 +0000 (20:03 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 6 Mar 2013 01:03:37 +0000 (20:03 -0500)
commit03d2d2938911e2641038313211b08546338953c3
treed1c6b3c3ced871b308a0288d1514e6e38fed7986
parent558b9d86247004f8e9bbaf8c982f3b2b182093d1
Implement ring buffer periodic buffer switch timer

The tricky part was the teardown. It must not race against neither
pending signals nor in-flight signal handler execution, otherwise the
timer handler could access freed channel data. Use a dedicated thread to
handle those signals, with a synchronization point between each handler
execution.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust-ctl/ustctl.c
liblttng-ust/lttng-ust-abi.c
libringbuffer/frontend.h
libringbuffer/frontend_types.h
libringbuffer/ring_buffer_frontend.c
This page took 0.025106 seconds and 4 git commands to generate.