Refactor state dump system
authorAntoine Busque <abusque@efficios.com>
Mon, 25 May 2015 23:12:30 +0000 (19:12 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 26 May 2015 18:30:02 +0000 (14:30 -0400)
commitcf73e0fea355d408180a66a88ba7a33cfbd17c33
tree5f8d912683c4344d4ce981a42e7bff2f37ce81fe
parentde4dee04fa3e008fe1044538f78778a867563aa4
Refactor state dump system

This patch refactors the state dump system. The state dump provider is
now "lttng_ust_statedump". Each process' state dump is now delimited
by a pair of "start" and "end" events. These events mark the beginning
and end of the state dump, which happens once per traced application
per session. Note that for a given (process, session) pair, begin/end
events are serialized and will match. However, in a session, state
dumps from different processes may be interleaved. The vpid context
should be used to identify which events belong to which process.

Signed-off-by: Antoine Busque <abusque@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust/Makefile.am
liblttng-ust/lttng-events.c
liblttng-ust/lttng-ust-baddr.c [deleted file]
liblttng-ust/lttng-ust-baddr.h [deleted file]
liblttng-ust/lttng-ust-comm.c
liblttng-ust/lttng-ust-statedump-provider.h [new file with mode: 0644]
liblttng-ust/lttng-ust-statedump.c [new file with mode: 0644]
liblttng-ust/lttng-ust-statedump.h [new file with mode: 0644]
liblttng-ust/ust_baddr_statedump.h [deleted file]
This page took 0.026448 seconds and 4 git commands to generate.