Messages in this thread | | | From | Jiri Olsa <> | Subject | [PATCHv2 0/6] perf, signal x86: Fix breakpoint events overflow handling | Date | Sun, 10 Mar 2013 19:41:05 +0100 |
| |
hi, sendign v2 for initial RFC patchset: https://lkml.org/lkml/2013/3/1/324
v2 changes: - added patch to merge EFLAGS bit clearing into single statement
Also available at: git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/linux.git perf/RF5
thanks, jirka
Cc: Thomas Gleixner <tglx@linutronix.de> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Andi Kleen <andi@firstfloor.org> Cc: Oleg Nesterov <oleg@redhat.com> Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Ingo Molnar <mingo@elte.hu> Cc: Paul Mackerras <paulus@samba.org> Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Vince Weaver <vincent.weaver@maine.edu> Cc: Stephane Eranian <eranian@google.com> --- Jiri Olsa (6): signal x86: Propage RF EFLAGS bit throught the signal restore call signal x86: Clear RF EFLAGS bit for signal handler signal x86: Merge EFLAGS bit clearing into single statement perf: Fix hw breakpoints overflow period sampling perf tests: Test breakpoint overflow signal handler perf tests: Test breakpoint overflow signal handler counts
arch/x86/ia32/ia32_signal.c | 2 - arch/x86/include/asm/sighandling.h | 4 +- arch/x86/kernel/signal.c | 16 +++----- include/linux/perf_event.h | 2 + kernel/events/core.c | 2 +- kernel/events/hw_breakpoint.c | 5 +++ tools/perf/Makefile | 2 + tools/perf/tests/bp_signal.c | 187 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ tools/perf/tests/bp_signal_overflow.c | 126 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ tools/perf/tests/builtin-test.c | 8 ++++ tools/perf/tests/tests.h | 2 + 11 files changed, 341 insertions(+), 15 deletions(-) create mode 100644 tools/perf/tests/bp_signal.c create mode 100644 tools/perf/tests/bp_signal_overflow.c
| |