linux-riscv.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH 3/3] riscv: Add support for libdw
       [not found] ` <mhng-a74d03ae-cfb4-4e42-8950-f90816975291@palmer-si-x1e>
@ 2019-04-29  8:45   ` Mao Han
  0 siblings, 0 replies; only message in thread
From: Mao Han @ 2019-04-29  8:45 UTC (permalink / raw)
  To: Palmer Dabbelt; +Cc: linux-riscv, guoren, linux-kernel

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@c-sky.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 

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-04-29  8:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <99f15d5c74727c31bf8d08b6cf948754e3e09943.1554961908.git.han_mao@c-sky.com>
     [not found] ` <mhng-a74d03ae-cfb4-4e42-8950-f90816975291@palmer-si-x1e>
2019-04-29  8:45   ` [PATCH 3/3] riscv: Add support for libdw Mao Han

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).