From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754807AbcFPQup (ORCPT ); Thu, 16 Jun 2016 12:50:45 -0400 Received: from mail.kernel.org ([198.145.29.136]:34710 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754021AbcFPQuo (ORCPT ); Thu, 16 Jun 2016 12:50:44 -0400 Date: Thu, 16 Jun 2016 13:50:40 -0300 From: Arnaldo Carvalho de Melo To: Wang Nan Cc: linux-kernel@vger.kernel.org, pi3orama@163.com, Arnaldo Carvalho de Melo , Alexei Starovoitov , Jiri Olsa Subject: Re: [PATCH 2/2] perf record: Add --dry-run option to check cmdline options Message-ID: <20160616165040.GF13337@kernel.org> References: <1466064161-48553-1-git-send-email-wangnan0@huawei.com> <1466064161-48553-3-git-send-email-wangnan0@huawei.com> <20160616164815.GE13337@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160616164815.GE13337@kernel.org> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.6.1 (2016-04-27) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Thu, Jun 16, 2016 at 01:48:15PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Thu, Jun 16, 2016 at 08:02:41AM +0000, Wang Nan escreveu: > > With '--dry-run', 'perf record' doesn't do reall recording. Combine with > > llvm.dump-obj option, --dry-run can be used to help compile BPF objects for > > embedded platform. > > So these are nice and have value, but can we have a subcommand to do all > this with an expressive name, Something like: > > perf bpfcc foo.c -o foo > > or shorter: > > perf bcc foo.c -o foo BTW, I just applied both files. Testing them now. - Arnaldo