Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964910AbcCNKBg (ORCPT ); Mon, 14 Mar 2016 06:01:36 -0400 Received: from szxga02-in.huawei.com ([119.145.14.65]:22403 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933571AbcCNKBR (ORCPT ); Mon, 14 Mar 2016 06:01:17 -0400 From: Wang Nan To: , CC: , Wang Nan , He Kuang , Alexei Starovoitov , "Arnaldo Carvalho de Melo" , Brendan Gregg , "Jiri Olsa" , Masami Hiramatsu , Namhyung Kim , Zefan Li , Subject: [PATCH 0/5] perf core: Support overwrite ring buffer Date: Mon, 14 Mar 2016 09:59:40 +0000 Message-ID: <1457949585-191064-1-git-send-email-wangnan0@huawei.com> X-Mailer: git-send-email 1.8.3.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.107.193.248] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090204.56E68BA1.001C,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: a9aef75da36f335ca4612bd8e493e062 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1483 Lines: 36 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/1457322619-170254-1-git-send-email-wangnan0@huawei.com 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 Cc: Alexei Starovoitov Cc: Arnaldo Carvalho de Melo Cc: Brendan Gregg Cc: Ingo Molnar Cc: Jiri Olsa Cc: Masami Hiramatsu Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Zefan Li Cc: pi3orama@163.com -- 1.8.3.4