Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932801AbbKDC0a (ORCPT ); Tue, 3 Nov 2015 21:26:30 -0500 Received: from szxga01-in.huawei.com ([58.251.152.64]:5390 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755675AbbKDC02 (ORCPT ); Tue, 3 Nov 2015 21:26:28 -0500 From: Wang Nan To: , CC: , , , Wang Nan Subject: [PATCH v2 0/4] perf bpf: Improve error code delivering and output Date: Wed, 4 Nov 2015 02:25:55 +0000 Message-ID: <1446603959-233500-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.0A090203.56396CCE.0077,ss=1,re=0.000,fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2011-05-27 18:58:46 X-Mirapoint-Loop-Id: a76c7a57f1272955ede8e7c4b699e768 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1285 Lines: 32 This patchset is based on perf/core (commit bebd23a2ed31d47e7dd746d3b125068aa2c42d85 in Arnaldo's tree). Compare with v1 [1], this patchset changes error reporting convention and the user of it at one same patch, avoid NULL checking in perf. Wang Nan (4): perf test: Keep test result clean if '-v' not set perf tools: Mute libbpf when '-v' not set bpf tools: Improve libbpf error reporting perf tools: Improve BPF related error messages output tools/lib/bpf/libbpf.c | 149 +++++++++++++++++++++++++------------ tools/lib/bpf/libbpf.h | 12 +++ tools/perf/tests/attr.c | 3 +- tools/perf/tests/code-reading.c | 8 +- tools/perf/tests/keep-tracking.c | 4 +- tools/perf/tests/llvm.c | 13 ++-- tools/perf/tests/switch-tracking.c | 4 +- tools/perf/util/bpf-loader.c | 110 +++++++++++++++++++++++---- tools/perf/util/bpf-loader.h | 18 +++++ tools/perf/util/parse-events.c | 11 +-- 10 files changed, 245 insertions(+), 87 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/