Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752868AbbKQIg7 (ORCPT ); Tue, 17 Nov 2015 03:36:59 -0500 Received: from szxga01-in.huawei.com ([58.251.152.64]:17975 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751041AbbKQIg6 (ORCPT ); Tue, 17 Nov 2015 03:36:58 -0500 From: Wang Nan To: , , CC: , , , Wang Nan Subject: [PATCH 0/5] perf tools: Improve BPF support Date: Tue, 17 Nov 2015 08:32:45 +0000 Message-ID: <1447749170-175898-1-git-send-email-wangnan0@huawei.com> X-Mailer: git-send-email 1.8.3.4 In-Reply-To: <20151117012924.GA22729@kernel.org> References: <20151117012924.GA22729@kernel.org> 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.564AE727.006D,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: 85b428608dc90f3a3c00235c004d7ec5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1591 Lines: 41 This patchset is based on Arnaldo's perf/ebpf branch (commit 14dcf0ba2a26f680776093a7a61e74526713f9b2). In response to Arnaldo's comment in [1], in this patch set: Patch 1/5 fixes a bug in BPF testcase which incorrectly returns TEST_OK when failure; Patch 2/5 is resent with some coding style improvements. Patch 3/5 - 4/5 provide improvements for 'perf test' to support sub-tests output which Arnaldo looks forward [2]. Patch 5/5 mutes all testcases during testing to ensure outupt of 'perf test' is clean when verbose is not set. [1] http://lkml.kernel.org/g/1447675815-166222-1-git-send-email-wangnan0@huawei.com [2] http://lkml.kernek.org/g/20151117012924.GA22729@kernel.org Wang Nan (5): perf test: Fix 2 bugs in 'perf test BPF' perf tools: Use same BPF program if arguments are identical perf test: Print result for each subtest for llvm perf test: Print result for each subtest for BPF perf test: Mute test cases if verbose == 0 tools/perf/tests/bpf.c | 45 +++++++++---- tools/perf/tests/builtin-test.c | 134 ++++++++++++++++++++++++++++++++------ tools/perf/tests/llvm.c | 65 +++++++++---------- tools/perf/tests/tests.h | 27 +++++++- tools/perf/util/bpf-loader.c | 138 ++++++++++++++++++++++++++++++++++++++-- 5 files changed, 330 insertions(+), 79 deletions(-) -- 1.8.3.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/