Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754771AbcC1GnB (ORCPT ); Mon, 28 Mar 2016 02:43:01 -0400 Received: from szxga02-in.huawei.com ([119.145.14.65]:31665 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753637AbcC1Gme (ORCPT ); Mon, 28 Mar 2016 02:42:34 -0400 From: Wang Nan To: Alexei Starovoitov , Arnaldo Carvalho de Melo , Peter Zijlstra CC: , Brendan Gregg , He Kuang , Jiri Olsa , Masami Hiramatsu , Namhyung Kim , , Wang Nan , Zefan Li Subject: [PATCH 0/4] perf core: Support reading from overwritable ring buffer Date: Mon, 28 Mar 2016 06:41:28 +0000 Message-ID: <1459147292-239310-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.0A020201.56F8D242.002B,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: ce9cb4297000b6dd1de5033abfa715c2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 983 Lines: 24 Following Peter and Alexei's suggestion, this patchset: 1. Append performance test result in commit message of patch 3/4 and 4/4; 2. Describe history and design choice in commit message of patch 4/4; 3. Change 'onward' to 'forward'; 4. Squash patches to make a better git log. Wang Nan (4): 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 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(-) -- 1.8.3.4