[PATCH 0/2] perf: Improve user regs sampling
From: Andy Lutomirski
Date: Sun Jan 04 2015 - 13:36:32 EST
This seems to improve the situation on x86_64 from almost entirely
broken to mostly working. Tested with:
perf record -e cycles --call-graph=dwarf ls
Andy Lutomirski (2):
perf: Move task_pt_regs sampling into arch code
x86_64, perf: Improve user regs sampling
arch/arm/kernel/perf_regs.c | 8 ++++
arch/arm64/kernel/perf_regs.c | 8 ++++
arch/x86/kernel/perf_regs.c | 90 +++++++++++++++++++++++++++++++++++++++++++
include/linux/perf_event.h | 12 +++---
include/linux/perf_regs.h | 16 ++++++++
kernel/events/core.c | 19 ++++-----
6 files changed, 137 insertions(+), 16 deletions(-)
--
2.1.0
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/