side: explicit statedump request key
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 23 Apr 2024 15:46:54 +0000 (11:46 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 23 Apr 2024 16:10:24 +0000 (12:10 -0400)
commit3da13b2c81ff5594abbff4901ff5d8a7bda36087
treeadafd35d570e7b97140378a8a64214679d11af3d
parent47299763f02dad24d55b6602c07623da1372f238
side: explicit statedump request key

Make the statedump request key explicit rather than hiding it as a
Thread-Local Storage variable within libside. It's type is still opaque
to the application (void *), but this allows schemes where the statedump
callbacks are not required to emit statedump events from the same
thread: it can pass the statedump_request_key to another thread
responsible for emitting those events.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/side/instrumentation-c-api.h
include/side/trace.h
src/side.c
tests/unit/statedump.c
This page took 0.025256 seconds and 4 git commands to generate.