[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190412.101041.259784853562829642.davem@davemloft.net>
Date: Fri, 12 Apr 2019 10:10:41 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: dongli.zhang@...cle.com
Cc: xen-devel@...ts.xenproject.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, wei.liu2@...rix.com,
paul.durrant@...rix.com, joe.jin@...cle.com, junxiao.bi@...cle.com,
jie.l.li@...cle.com
Subject: Re: [PATCH 1/1] xen-netback: add reference from xenvif to
backend_info to facilitate coredump analysis
From: Dongli Zhang <dongli.zhang@...cle.com>
Date: Fri, 12 Apr 2019 14:53:24 +0800
> During coredump analysis, it is not easy to obtain the address of
> backend_info in xen-netback.
>
> So far there are two ways to obtain backend_info:
>
> 1. Do what xenbus_device_find() does for vmcore to find the xenbus_device
> and then derive it from dev_get_drvdata().
>
> 2. Extract backend_info from callstack of xenwatch (e.g., netback_remove()
> or frontend_changed()).
>
> This patch adds a reference from xenvif to backend_info so that it would be
> much more easier to obtain backend_info during coredump analysis.
>
> Signed-off-by: Dongli Zhang <dongli.zhang@...cle.com>
Applied to net-next.
Powered by blists - more mailing lists