Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751337AbbK0FhD (ORCPT ); Fri, 27 Nov 2015 00:37:03 -0500 Received: from szxga03-in.huawei.com ([119.145.14.66]:2022 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750766AbbK0FhA (ORCPT ); Fri, 27 Nov 2015 00:37:00 -0500 From: Wang Nan To: , CC: , , , , , Wang Nan Subject: [PATCH v3 0/2] perf tools: Builtin options related improvements Date: Fri, 27 Nov 2015 05:36:28 +0000 Message-ID: <1448602590-194992-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.5657EBF2.00A2,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-05-26 15:14:31, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 97e83ee3a77e42aa1a5c5650d719b398 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1105 Lines: 29 According to Arnaldo's suggestion, patch 1/2 ensures options always there even if they are not build. When user tries to use a not build option, error or warning messages would tell them the reason. Patch 2/2 adds vmlinux option to perf record to support BPF argument fetching better. Without this patch vmlinux must be reside in standard path for BPF loader finding it. He Kuang (1): perf record: Support custom vmlinux path Wang Nan (1): perf tools: Always give options even it not compiled tools/perf/Documentation/perf-record.txt | 10 ++- tools/perf/builtin-probe.c | 15 +++- tools/perf/builtin-record.c | 25 ++++++- tools/perf/util/parse-options.c | 113 ++++++++++++++++++++++++++++--- tools/perf/util/parse-options.h | 5 ++ 5 files changed, 153 insertions(+), 15 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/