Re: [BUG ARM64/perf] Perf record on hardware breakpoint causes application to hang

2016-03-03 Thread Will Deacon
On Thu, Mar 03, 2016 at 09:09:05PM +0800, Hekuang wrote: > This problem can be reproduced as follows: > > We know cat /proc/version will read the memory of symbol > linux_proc_banner, then we make a hardware memory access > breakpoint on that address. > > on terminal 1: > > $ perf record -e me

[BUG ARM64/perf] Perf record on hardware breakpoint causes application to hang

2016-03-03 Thread Hekuang
This problem can be reproduced as follows: We know cat /proc/version will read the memory of symbol linux_proc_banner, then we make a hardware memory access breakpoint on that address. on terminal 1: $ perf record -e mem:0x$(cat /proc/kallsyms|grep linux_proc_banner|cut -d " " -f 1):rw --no-