[PATCH 0/2] perf: Fixes for callchain ip handling on powerpc

From: Sandipan Das
Date: Thu Apr 12 2018 - 13:11:41 EST


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
here: https://lkml.org/lkml/2018/4/4/633

The second 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.

Sandipan Das (2):
perf tools powerpc: Fix callchain ip filtering
perf tests: Fix record+probe_libc_inet_pton.sh for powerpc64

tools/perf/arch/powerpc/util/skip-callchain-idx.c | 58 +++++++++++++++-------
.../tests/shell/record+probe_libc_inet_pton.sh | 8 +++
2 files changed, 49 insertions(+), 17 deletions(-)

--
2.14.3