Re: [PATCH 1/2] perf probe: Fix wrong register name for arm64

2017-05-03 Thread Pratyush Anand
Just noticed that this patch fixes commit e47392bf9c06 (v4.8+). So, Ccing sta...@vger.kernel.org [e47392bf9c06 perf uprobe: Skip prologue if program compiled without optimization] After e47392bf9c06 on ARM64: # cat > test.c << EOF > #include > > int main(int argc, void **argv) > { > print

Re: [PATCH 1/2] perf probe: Fix wrong register name for arm64

2017-01-25 Thread Masami Hiramatsu
On Tue, 24 Jan 2017 10:30:14 + He Kuang wrote: > The register name of arm64 architecture is x0-x31 not r0-r31, this > patch changes this typo. > > Before this patch: > > # perf probe --definition 'sys_write count' > p:probe/sys_write _text+1502872 count=%r2:s64 > > # echo 'p:probe/sy

Re: [PATCH 1/2] perf probe: Fix wrong register name for arm64

2017-01-25 Thread Will Deacon
On Tue, Jan 24, 2017 at 04:11:11PM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Jan 24, 2017 at 10:30:14AM +, He Kuang escreveu: > > The register name of arm64 architecture is x0-x31 not r0-r31, this > > patch changes this typo. > > > > Before this patch: > > Will, are you ok with this on

Re: [PATCH 1/2] perf probe: Fix wrong register name for arm64

2017-01-24 Thread Arnaldo Carvalho de Melo
Em Tue, Jan 24, 2017 at 10:30:14AM +, He Kuang escreveu: > The register name of arm64 architecture is x0-x31 not r0-r31, this > patch changes this typo. > > Before this patch: Will, are you ok with this one? I'll make sure I'll forward patches in this area to you if you're not on the CC list,

[PATCH 1/2] perf probe: Fix wrong register name for arm64

2017-01-24 Thread He Kuang
The register name of arm64 architecture is x0-x31 not r0-r31, this patch changes this typo. Before this patch: # perf probe --definition 'sys_write count' p:probe/sys_write _text+1502872 count=%r2:s64 # echo 'p:probe/sys_write _text+1502872 count=%r2:s64' > \ /sys/kernel/debug/tracing/