[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190429084441.GC22718@vmh-VirtualBox>
Date: Mon, 29 Apr 2019 16:45:00 +0800
From: Mao Han <han_mao@...ky.com>
To: Palmer Dabbelt <palmer@...ive.com>
Cc: linux-riscv@...ts.infradead.org, guoren@...nel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/3] riscv: Add support for libdw
On Thu, Apr 25, 2019 at 02:11:04PM -0700, Palmer Dabbelt wrote:
> On Thu, 11 Apr 2019 00:53:50 PDT (-0700), han_mao@...ky.com wrote:
> >This patch add support for DWARF register mappings and libdw registers
> >initialization, which is used by perf callchain analyzing when
> >--call-graph=dwarf is given.
>
> Is there any way to make this the only backtracer? It's the only one that's
> likely to be useful on RISC-V without recompiling everything with
> -fno-omit-frame-pointer, which has a major performance hit.
>
Frame pointer is the default record mode in record_callchain_opt.
Some generic modification seems required to change this, default to
use dwarf if riscv and show corresponding message in --help.
Thanks,
Mao Han
Powered by blists - more mailing lists