[PATCH 1/3] powerpc: Add HAVE_PERF_USER_STACK_DUMP support

2016-04-28 Thread Chandan Kumar
With perf regs support enabled for powerpc, the support for obtaining perf user stack dump is already enabled. This patch declares the support for same and also updates documentation to mark the support for perf-regs and perf-stackdump. Signed-off-by: Chandan Kumar --- Documentation/features

[PATCH 2/3] powerpc/perf: Add support for unwinding perf-stackdump

2016-04-28 Thread Chandan Kumar
Adds support for unwinding user stack dump by linking with libunwind. Signed-off-by: Chandan Kumar --- tools/perf/arch/powerpc/util/Build | 1 + tools/perf/arch/powerpc/util/unwind-libunwind.c | 96 + tools/perf/config/Makefile | 1

[PATCH 3/3] perf tools: Fix perf regs mask generation

2016-04-28 Thread Chandan Kumar
From: "Naveen N. Rao" On some architectures (powerpc in particular), the number of registers exceeds what can be represented in an integer bitmask. Ensure we generate the proper bitmask on such platforms. Fixes: 71ad0f5e4 ("perf tools: Support for DWARF CFI unwinding on post processing") Signed

[PATCH 0/3] Add support for perf user stack dump in powerpc

2016-04-28 Thread Chandan Kumar
2dcabc .search_binary_handler (/boot/vmlinux) 2dd6f0 .do_execveat_common.isra.28 (/boot/vmlinux) 2ddcd8 .sys_execve (/boot/vmlinux) 19258 system_call (/boot/vmlinux) ... .. ----- 8< - Chandan Kumar (2): powerpc: Add HAVE_PERF_USER_STACK_DUMP s