Thread (7 messages) flat view 7 messages, 4 authors, 2017-02-03

[PATCH 2/2 v2] perf tools: Enable bpf prologue for arm64

From: Will Deacon <hidden>
Date: 2017-01-25 13:32:02
Also in: lkml

On Wed, Jan 25, 2017 at 07:23:11AM +0000, He Kuang wrote:
Since HAVE_KPROBES can be enabled in arm64, this patch introduces
regs_query_register_offset() to convert register name to offset for
arm64, so the BPF prologue feature is ready to use.

This patch also changes the 'dwarfnum' to 'offset' in register table,
so the related functions are consistent with x86.
Wouldn't it be an awful lot simpler just to leave the code as-is, and
implement regs_query_register_offset in the same way that we implement
get_arch_regstr but return the dwarfnum?

I don't really see the point of all the refactoring.

Will
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help