Re: [PATCH v2 2/2] net: add trace events for net_device refcnt

From: Cong Wang
Date: Sat Nov 16 2019 - 14:47:54 EST


On Tue, Nov 12, 2019 at 7:27 AM David Ahern <dsahern@xxxxxxxxx> wrote:
> The location alone does nothing for resolving reference count leaks; you
> really have to use stack traces to pair up the hold and put and to give
> context for what are repetitive locations for the hold and put.

+1

And, as you are using tracepoint, you get trace filter and trigger for free,
which already includes stacktrace.