Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755738AbcDGJnW (ORCPT ); Thu, 7 Apr 2016 05:43:22 -0400 Received: from szxga02-in.huawei.com ([119.145.14.65]:5998 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755250AbcDGJnT (ORCPT ); Thu, 7 Apr 2016 05:43:19 -0400 From: Wang Nan To: , CC: , , , Subject: [PATCH 0/4] perf tests: Add test to check backward ring buffer Date: Thu, 7 Apr 2016 09:42:56 +0000 Message-ID: <1460022180-61262-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.0A090202.57062BB4.0033,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: d4760b11328eec110f2e107302fdda19 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 864 Lines: 22 This 4 patches add a new test case, test reading from backward ring bfufer implemented by [1]. [1]: http://lkml.kernel.org/g/1459865478-53413-1-git-send-email-wangnan0@huawei.com Wang Nan (4): perf tools: Enforce ring buffer reading perf tools: Extract __perf_evlist__mmap_read() perf tools: Support reading from backward ring buffer perf tests: Add test to check backward ring buffer tools/perf/tests/Build | 1 + tools/perf/tests/backward-ring-buffer.c | 151 ++++++++++++++++++++++++++++++++ tools/perf/tests/builtin-test.c | 4 + tools/perf/tests/tests.h | 1 + tools/perf/util/evlist.c | 87 ++++++++++++++---- tools/perf/util/evlist.h | 4 + 6 files changed, 233 insertions(+), 15 deletions(-) create mode 100644 tools/perf/tests/backward-ring-buffer.c -- 1.8.3.4