Message ID | 1444292984-13135-20-git-send-email-wangnan0@huawei.com |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBD2YXXXCQEBBBLGW3CYAKGQEKB2LXYY@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f199.google.com (mail-lb0-f199.google.com [209.85.217.199]) by patches.linaro.org (Postfix) with ESMTPS id F2C5C22FF8 for <linaro@patches.linaro.org>; Thu, 8 Oct 2015 08:37:01 +0000 (UTC) Received: by lbwr8 with SMTP id r8sf19936928lbw.0 for <linaro@patches.linaro.org>; Thu, 08 Oct 2015 01:37:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-type:sender:precedence :list-id:x-original-sender:x-original-authentication-results :mailing-list:list-post:list-help:list-archive:list-unsubscribe; bh=+DcZ3BFtE3X0aWPFept0i1Z4PmV4D7RR5cbq4Fjiq4Y=; b=V61rUXSV3YLMQJdRj5eiVLdyxBkNQmCcYvCDmr3m8/+v2pgRg4uRQHBhu9xT/719+v X8dMJ0T+G73hN+gdHNs6ieoHx7vYJHbkYcJrwQkfy2iUGd+sSuLd3VKw+2AS/c2nUFtR cpr82O9T1/RsjLZiTftgooDAk1BN28bqNujqTR+Esj4P5K/FE5M54oCk48J+l9fcVhYc a+zF6ZuTfC/s/mryGNWOt7qZeVTQryx8CiCnZbFjwTtqtIy7gFlgBA4GVvg1m77RmExW 6xUs7g+gJer8b7Vp49yMnSThN9Q4yGSuaQIYGZcdAKPmk+8d6O+OQ5qDZUSKMWGPD2a9 jz0g== X-Gm-Message-State: ALoCoQkSz2MeV39lzFMdzMVlZCWRXax1V1tSw3MfLyjOMYtoiPRcgZCI/LxfUyAmwiCUIfFc/jEz X-Received: by 10.112.130.41 with SMTP id ob9mr1096194lbb.17.1444293420966; Thu, 08 Oct 2015 01:37:00 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.30.18 with SMTP id e18ls144895lfe.35.gmail; Thu, 08 Oct 2015 01:37:00 -0700 (PDT) X-Received: by 10.25.218.205 with SMTP id r196mr1934228lfg.82.1444293420791; Thu, 08 Oct 2015 01:37:00 -0700 (PDT) Received: from mail-lb0-f175.google.com (mail-lb0-f175.google.com. [209.85.217.175]) by mx.google.com with ESMTPS id r199si28815126lfe.160.2015.10.08.01.37.00 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Oct 2015 01:37:00 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.175 as permitted sender) client-ip=209.85.217.175; Received: by lbwr8 with SMTP id r8so38403295lbw.2 for <patchwork-forward@linaro.org>; Thu, 08 Oct 2015 01:37:00 -0700 (PDT) X-Received: by 10.112.163.131 with SMTP id yi3mr2952327lbb.36.1444293420612; Thu, 08 Oct 2015 01:37:00 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp440306lbq; Thu, 8 Oct 2015 01:36:59 -0700 (PDT) X-Received: by 10.50.47.81 with SMTP id b17mr2175582ign.39.1444293419635; Thu, 08 Oct 2015 01:36:59 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ka4si5812232igb.104.2015.10.08.01.36.59; Thu, 08 Oct 2015 01:36:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754546AbbJHIfP (ORCPT <rfc822;pingbo.wen@linaro.org> + 30 others); Thu, 8 Oct 2015 04:35:15 -0400 Received: from szxga03-in.huawei.com ([119.145.14.66]:51644 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754203AbbJHIfM (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 8 Oct 2015 04:35:12 -0400 Received: from 172.24.1.49 (EHLO szxeml427-hub.china.huawei.com) ([172.24.1.49]) by szxrg03-dlp.huawei.com (MOS 4.4.3-GA FastPath queued) with ESMTP id BOO15958; Thu, 08 Oct 2015 16:30:50 +0800 (CST) Received: from linux-4hy3.site (10.107.193.248) by szxeml427-hub.china.huawei.com (10.82.67.182) with Microsoft SMTP Server id 14.3.235.1; Thu, 8 Oct 2015 16:29:43 +0800 From: Wang Nan <wangnan0@huawei.com> To: <acme@redhat.com> CC: <linux-kernel@vger.kernel.org>, <pi3orama@163.com>, <lizefan@huawei.com>, He Kuang <hekuang@huawei.com>, Wang Nan <wangnan0@huawei.com>, "Alexei Starovoitov" <ast@plumgrid.com>, Brendan Gregg <brendan.d.gregg@gmail.com>, Daniel Borkmann <daniel@iogearbox.net>, David Ahern <dsahern@gmail.com>, Jiri Olsa <jolsa@kernel.org>, Kaixu Xia <xiakaixu@huawei.com>, "Masami Hiramatsu" <masami.hiramatsu.pt@hitachi.com>, Namhyung Kim <namhyung@kernel.org>, Paul Mackerras <paulus@samba.org>, Peter Zijlstra <a.p.zijlstra@chello.nl> Subject: [PATCH 19/22] perf record: Support custom vmlinux path Date: Thu, 8 Oct 2015 08:29:41 +0000 Message-ID: <1444292984-13135-20-git-send-email-wangnan0@huawei.com> X-Mailer: git-send-email 1.8.3.4 In-Reply-To: <1444292984-13135-1-git-send-email-wangnan0@huawei.com> References: <1444292984-13135-1-git-send-email-wangnan0@huawei.com> 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.0A020202.56162A84.0045, 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: c4ef7d5daf78e878ca67606cdadcbc16 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: wangnan0@huawei.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.175 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c index 847cc67..200f221 100644 --- a/tools/perf/builtin-record.c +++ b/tools/perf/builtin-record.c @@ -1123,6 +1123,10 @@ struct option __record_options[] = { "clang binary to use for compiling BPF scriptlets"), OPT_STRING(0, "clang-opt", &llvm_param.clang_opt, "clang options", "options passed to clang when compiling BPF scriptlets"), +#ifdef HAVE_BPF_PROLOGUE + OPT_STRING(0, "vmlinux", &symbol_conf.vmlinux_name, + "file", "vmlinux pathname"), +#endif #endif OPT_END() };