Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756770AbbGGN1Z (ORCPT ); Tue, 7 Jul 2015 09:27:25 -0400 Received: from mail.kernel.org ([198.145.29.136]:41250 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753819AbbGGN1Q (ORCPT ); Tue, 7 Jul 2015 09:27:16 -0400 Date: Tue, 7 Jul 2015 10:27:13 -0300 From: Arnaldo Carvalho de Melo To: Namhyung Kim Cc: Wang Nan , Peter Zijlstra , Ingo Molnar , Jiri Olsa , Peter Zijlstra , "Liang, Kan" , Adrian Hunter , Andi Kleen , jacob.w.shin@gmail.com, standby24x7@gmail.com, Li Zefan , yunlong.song@huawei.com, Steven Rostedt , "linux-kernel@vger.kernel.org" , pi3orama@163.com Subject: Re: [PATCH v2] perf tools: Allow passing perf's own pid to '--filter' Message-ID: <20150707132713.GB3326@kernel.org> References: <1436240327-181705-1-git-send-email-wangnan0@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 730 Lines: 18 Em Tue, Jul 07, 2015 at 09:33:02PM +0900, Namhyung Kim escreveu: > On Tue, Jul 7, 2015 at 12:38 PM, Wang Nan wrote: > > This patch introduces '$PERFPID' placeholder to perf's filter. Now > > user is allowed to do the above work with: > > # perf record -e ... --filter='common_pid != $PERFPID' -a sleep 10 > Instead, what about adding an option to do the same thing, like > --exclude-perf or something? Good idea, that would be more compact, yes. - Arnaldo -- 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/