Re: [PATCH] arm64: perf: Fix callchain parse error with kernel tracepoint events

2015-04-30 Thread Hou Pengyang
On 2015/4/29 18:12, Will Deacon wrote: Hello, On Tue, Apr 28, 2015 at 02:20:48PM +0100, Hou Pengyang wrote: For ARM64, when tracing with tracepoint events, the IP and cpsr are set to 0, preventing the perf code parsing the callchain and resolving the symbols correctly. ./perf record -e

Re: [PATCH] arm64: perf: Fix callchain parse error with kernel tracepoint events

2015-04-30 Thread Will Deacon
On Thu, Apr 30, 2015 at 02:50:05AM +0100, Hou Pengyang wrote: > On 2015/4/29 18:12, Will Deacon wrote: > > On Tue, Apr 28, 2015 at 02:20:48PM +0100, Hou Pengyang wrote: > >> diff --git a/arch/arm64/include/asm/perf_event.h > >> b/arch/arm64/include/asm/perf_event.h > >> index d26d1d5..16a074f

Re: [PATCH] arm64: perf: Fix callchain parse error with kernel tracepoint events

2015-04-30 Thread Will Deacon
On Thu, Apr 30, 2015 at 02:50:05AM +0100, Hou Pengyang wrote: On 2015/4/29 18:12, Will Deacon wrote: On Tue, Apr 28, 2015 at 02:20:48PM +0100, Hou Pengyang wrote: diff --git a/arch/arm64/include/asm/perf_event.h b/arch/arm64/include/asm/perf_event.h index d26d1d5..16a074f 100644 ---

Re: [PATCH] arm64: perf: Fix callchain parse error with kernel tracepoint events

2015-04-30 Thread Hou Pengyang
On 2015/4/29 18:12, Will Deacon wrote: Hello, On Tue, Apr 28, 2015 at 02:20:48PM +0100, Hou Pengyang wrote: For ARM64, when tracing with tracepoint events, the IP and cpsr are set to 0, preventing the perf code parsing the callchain and resolving the symbols correctly. ./perf record -e

Re: [PATCH] arm64: perf: Fix callchain parse error with kernel tracepoint events

2015-04-29 Thread Hou Pengyang
On 2015/4/29 18:12, Will Deacon wrote: Hello, On Tue, Apr 28, 2015 at 02:20:48PM +0100, Hou Pengyang wrote: For ARM64, when tracing with tracepoint events, the IP and cpsr are set to 0, preventing the perf code parsing the callchain and resolving the symbols correctly. ./perf record -e

Re: [PATCH] arm64: perf: Fix callchain parse error with kernel tracepoint events

2015-04-29 Thread Will Deacon
Hello, On Tue, Apr 28, 2015 at 02:20:48PM +0100, Hou Pengyang wrote: > For ARM64, when tracing with tracepoint events, the IP and cpsr are set > to 0, preventing the perf code parsing the callchain and resolving the > symbols correctly. > > ./perf record -e sched:sched_switch -g --call-graph

Re: [PATCH] arm64: perf: Fix callchain parse error with kernel tracepoint events

2015-04-29 Thread Will Deacon
Hello, On Tue, Apr 28, 2015 at 02:20:48PM +0100, Hou Pengyang wrote: For ARM64, when tracing with tracepoint events, the IP and cpsr are set to 0, preventing the perf code parsing the callchain and resolving the symbols correctly. ./perf record -e sched:sched_switch -g --call-graph dwarf

Re: [PATCH] arm64: perf: Fix callchain parse error with kernel tracepoint events

2015-04-29 Thread Hou Pengyang
On 2015/4/29 18:12, Will Deacon wrote: Hello, On Tue, Apr 28, 2015 at 02:20:48PM +0100, Hou Pengyang wrote: For ARM64, when tracing with tracepoint events, the IP and cpsr are set to 0, preventing the perf code parsing the callchain and resolving the symbols correctly. ./perf record -e

[PATCH] arm64: perf: Fix callchain parse error with kernel tracepoint events

2015-04-28 Thread Hou Pengyang
For ARM64, when tracing with tracepoint events, the IP and cpsr are set to 0, preventing the perf code parsing the callchain and resolving the symbols correctly. ./perf record -e sched:sched_switch -g --call-graph dwarf ls [ perf record: Captured and wrote 0.146 MB perf.data ] ./perf

[PATCH] arm64: perf: Fix callchain parse error with kernel tracepoint events

2015-04-28 Thread Hou Pengyang
For ARM64, when tracing with tracepoint events, the IP and cpsr are set to 0, preventing the perf code parsing the callchain and resolving the symbols correctly. ./perf record -e sched:sched_switch -g --call-graph dwarf ls [ perf record: Captured and wrote 0.146 MB perf.data ] ./perf