forked from Minki/linux
51bc620ba9
This patch adds support for DWARF register mappings and libdw registers initialization, which is used by perf callchain analyzing when --call-graph=dwarf is given. Signed-off-by: Mao Han <han_mao@c-sky.com> Cc: Paul Walmsley <paul.walmsley@sifive.com> Cc: Greentime Hu <green.hu@gmail.com> Cc: Palmer Dabbelt <palmer@sifive.com> Cc: linux-riscv <linux-riscv@lists.infradead.org> Cc: Christoph Hellwig <hch@lst.de> Cc: Guo Ren <guoren@kernel.org> Tested-by: Greentime Hu <greentime.hu@sifive.com> Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
5 lines
95 B
Makefile
5 lines
95 B
Makefile
ifndef NO_DWARF
|
|
PERF_HAVE_DWARF_REGS := 1
|
|
endif
|
|
PERF_HAVE_ARCH_REGS_QUERY_REGISTER_OFFSET := 1
|