leakstracer: Add API for fetching leaked objects
authorNirbheek Chauhan <nirbheek@centricular.com>
Fri, 28 Jun 2019 12:49:31 +0000 (18:19 +0530)
committerNirbheek Chauhan <nirbheek@centricular.com>
Tue, 2 Jul 2019 09:43:26 +0000 (15:13 +0530)
commit44198ec4d636f83d05a5e2b68b9cf6d6252b6cc7
tree8b635d9cd720fe89e8cff52156febad7951c06ab
parent1685f38bb276b0ff28c83a042aaefc2cec21a71d
leakstracer: Add API for fetching leaked objects

This allows programs to inspect the leaked objects directly, log them,
and so on. Unlike the existing mechanism to use SIGUSR1, this also
works on platforms that do not support UNIX signals, such as Windows
and with applications that already use SIGUSR1 for something else.
plugins/tracers/gstleaks.c
plugins/tracers/gstleaks.h