linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/2] arm & arm64: perf: Fix callchain parse error with kernel tracepoint events
@ 2015-05-08  5:43 Hou Pengyang
  2015-05-08  5:43 ` [PATCH v4 1/2] arm: " Hou Pengyang
  2015-05-08  5:43 ` [PATCH v4 2/2] arm64: " Hou Pengyang
  0 siblings, 2 replies; 7+ messages in thread
From: Hou Pengyang @ 2015-05-08  5:43 UTC (permalink / raw)
  To: will.deacon, a.p.zijlstra, paulus, acme, mingo
  Cc: catalin.marinas, wannan0, linux-kernel, linux-arm-kernel

For arm & 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. 

These two patches fix this by implementing perf_arch_fetch_caller_regs
for arm and arm64, which fills several necessary register info for 
callchain unwinding and symbol resolving.

v3->v4:
 - fix compile errors

v2->v3:
 - split the original patch into two, one for arm and the other arm64;
 - change '|=' to '=' when setting cpsr. 

Hou Pengyang (2):
  arm: perf: Fix callchain parse error with kernel tracepoint events
  arm64: perf: Fix callchain parse error with kernel tracepoint events

 arch/arm/include/asm/perf_event.h   | 7 +++++++
 arch/arm64/include/asm/perf_event.h | 7 +++++++
 2 files changed, 14 insertions(+)

-- 
1.8.3.4


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-05-20  6:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-08  5:43 [PATCH v4 0/2] arm & arm64: perf: Fix callchain parse error with kernel tracepoint events Hou Pengyang
2015-05-08  5:43 ` [PATCH v4 1/2] arm: " Hou Pengyang
2015-05-08  5:43 ` [PATCH v4 2/2] arm64: " Hou Pengyang
2015-05-08 15:37   ` Will Deacon
2015-05-10 11:07     ` [PATCH v5] " Hou Pengyang
2015-05-19 16:52       ` Catalin Marinas
2015-05-20  6:53         ` Jean Pihet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).