leakstracer: Add API for tracking and checkpointing objects
authorNirbheek Chauhan <nirbheek@centricular.com>
Fri, 21 Jun 2019 12:47:13 +0000 (18:17 +0530)
committerNirbheek Chauhan <nirbheek@centricular.com>
Tue, 2 Jul 2019 09:43:26 +0000 (15:13 +0530)
commit6ccf59ec068d5eb306a8a04e929556361fb698ad
tree1f24aec09fb491c30598d0e2f49cabb1a1233086
parent5524137d7e99438587e21313488d48db745d551c
leakstracer: Add API for tracking and checkpointing objects

This feature was previously available only through the SIGUSR2 signal,
which meant it wasn't available on platforms that don't have UNIX
signals, such as Windows and with applications that already use
SIGUSR1 for something else.

Now we have action-signals for doing the same. These action signals
can also be used for fetching the checkpoint information
programmatically instead of printing to the debug log.
plugins/tracers/gstleaks.c
plugins/tracers/gstleaks.h