[lkml]   [2018]   [Apr]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH v2 0/3] perf: Fixes for callchain ip handling on powerpc
The first patch fixes the callchain ip filtering mechanism for powerpc
from skipping entries in case the LR value is still valid and yet to
be written to the stack frame. This was previously posted as an RFC

The second patch fixes a crash caused by attempting to access an empty

The third patch fixes a shell test which used to fail on powerpc as
the back trace from perf output did not match the expected pattern.
Also, because of the issue described in the first patch, some entries
from the callchain were incorrectly skipped. So, this has also been
readjusted to work with the fix in the first patch.

- Consider case when return address is in R0 as pointed out by Ravi.
- Add another patch to fix crash when callchain is empty.

Sandipan Das (3):
perf tools powerpc: Fix callchain ip filtering
perf tools powerpc: Fix crash if callchain is empty
perf tests: Fix for powerpc64

tools/perf/arch/powerpc/util/skip-callchain-idx.c | 74 +++++++++++++---------
.../tests/shell/ | 8 +++
2 files changed, 53 insertions(+), 29 deletions(-)


 \ /
  Last update: 2018-04-18 12:59    [W:0.092 / U:0.600 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site