Previous patch set at [1] has a problem when using hw_breakpoints on ARM and ARM64. This new version fix that by introducing is_default_overflow_handler() to replace all '!overflow_handler' checking.
[1] http://lkml.kernel.org/g/[email protected] Wang Nan (5): perf core: Introduce new ioctl options to pause and resume ring buffer perf core: Set event's default overflow_handler perf core: Prepare writing into ring buffer from end perf core: Add backward attribute to perf event perf core: Reduce perf event output overhead by new overflow handler arch/arm/kernel/hw_breakpoint.c | 4 +-- arch/arm64/kernel/hw_breakpoint.c | 4 +-- include/linux/perf_event.h | 32 +++++++++++++++-- include/uapi/linux/perf_event.h | 4 ++- kernel/events/core.c | 73 +++++++++++++++++++++++++++++++++------ kernel/events/internal.h | 11 ++++++ kernel/events/ring_buffer.c | 63 +++++++++++++++++++++++++++++---- 7 files changed, 167 insertions(+), 24 deletions(-) Cc: He Kuang <[email protected]> Cc: Alexei Starovoitov <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Brendan Gregg <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Masami Hiramatsu <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Zefan Li <[email protected]> Cc: [email protected] -- 1.8.3.4

