leaks: Do not trace refs for object we do not follow
authorThibault Saunier <tsaunier@igalia.com>
Thu, 13 Feb 2020 20:53:29 +0000 (17:53 -0300)
committerThibault Saunier <tsaunier@gnome.org>
Fri, 14 Feb 2020 23:07:53 +0000 (23:07 +0000)
commit14cd8b8348895bb542c6f5eac80aa7964be4e36a
tree49160ba67538bdd318bfa59dab9564588fd73298
parentd28e0b4147fe7073b27312d2ecd234d44797a765
leaks: Do not trace refs for object we do not follow

When the user sets filters, we should not trace ref counts of object that
are not traced. This optimizes the tracer by potentially avoiding
generating useless backtraces.
plugins/tracers/gstleaks.c