[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAM_iQpW7S9fUX33jCNhRfsK17rGmFSCkO97ujREJGsq1NpwwzQ@mail.gmail.com>
Date: Sat, 16 Nov 2019 11:47:33 -0800
From: Cong Wang <xiyou.wangcong@...il.com>
To: David Ahern <dsahern@...il.com>
Cc: Tony Lu <tonylu@...ux.alibaba.com>,
David Miller <davem@...emloft.net>,
Eric Dumazet <eric.dumazet@...il.com>, shemminger@...l.org,
Linux Kernel Network Developers <netdev@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2 2/2] net: add trace events for net_device refcnt
On Tue, Nov 12, 2019 at 7:27 AM David Ahern <dsahern@...il.com> 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.
Powered by blists - more mailing lists