Received: by 10.223.164.202 with SMTP id h10csp5225873wrb; Tue, 21 Nov 2017 06:37:55 -0800 (PST) X-Google-Smtp-Source: AGs4zMZeQ65lEYkpZtzYccbHGQHc/wcbWYslB1+MMn0PWCmPb4hJdnustPNTetUOqjXjE1mEUXKm X-Received: by 10.84.211.136 with SMTP id c8mr9520957pli.290.1511275074973; Tue, 21 Nov 2017 06:37:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511275074; cv=none; d=google.com; s=arc-20160816; b=IywUxkdB+ozw/rrPmFAaC9r7p+zzDJNSk1+6wnpEEDS6xgnZUxQKc3qyez6BqTostK kj/1YlpTgUYlk5BDIw0xpeeMWL6d9y8rtHNuXu0/9MeTZ5L/D6lC8wM8RAcA/NGUwafG Y5VHpIZzlSk2b3RnB5M3jv87FdMAMIXqyafe6h63NStrL0ZJTvaFijbAh8U/BXIv/xx/ Qo3Dqg+toUFjXTWCacVqrsrYHTWoA36dctc3hxIaLn2/C8w38537BMAvtse4GE3Mt61m lbD/9bUMoKOd5QjgI01+hBoBAVUoqVQ4mnUzXRJRyIcscXkA9UKqZqGt6eGLnd7KVlMM fg5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=erqhcNN65HjGqqPS0mUGewyBmHxnZ55h3DRJwuuzmaU=; b=njt2Xx5TixC7QAX6PQYF5rAtjz3dvrau20g21lBeUaFQ8uSYABv9b8sojdoc8m1xyb KgIia0KTi83+SRwY9o27NwvtbOi06b7t9O6bLVazNlwIrgKLoXwud2VlNe0QU89R4RTO 2/pBBauZD577v1xXP/aHfNwxovwX+mpCCEzdbaIjuQy9qffHsPae2kFlVnw5IaaGbzP5 Vlry5OaoYBKc6FUk3YuC+SMF2F0b0cvoy5wwA2+9r/O4laUeH+OP19KzMtT32OSGajLn Bkwzp7NEI0lYuAB6bxIFbifO1YqIPgILI3RXcEjpIWm0C/8i4yXaHvPoPILgPpnMTCFm xmeA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x5si10933783plo.24.2017.11.21.06.37.43; Tue, 21 Nov 2017 06:37:54 -0800 (PST) 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; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751390AbdKUOfy (ORCPT + 76 others); Tue, 21 Nov 2017 09:35:54 -0500 Received: from mx1.redhat.com ([209.132.183.28]:59378 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751251AbdKUOfx (ORCPT ); Tue, 21 Nov 2017 09:35:53 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7A34AC04AC4F; Tue, 21 Nov 2017 14:35:53 +0000 (UTC) Received: from sandy.ghostprotocols.net (ovpn-112-5.gru2.redhat.com [10.97.112.5]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 20BA86A85C; Tue, 21 Nov 2017 14:35:52 +0000 (UTC) Received: by sandy.ghostprotocols.net (Postfix, from userid 1000) id 4507230F1; Tue, 21 Nov 2017 12:35:50 -0200 (BRST) Date: Tue, 21 Nov 2017 12:35:50 -0200 From: Arnaldo Carvalho de Melo To: Stephane Eranian Cc: LKML , Jiri Olsa , Peter Zijlstra , mingo@elte.hu, Andi Kleen , David Ahern Subject: Re: [RFC] perf script: modify field selection option Message-ID: <20171121143550.GA2187@redhat.com> References: 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.20 (2009-12-10) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Tue, 21 Nov 2017 14:35:53 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Mon, Nov 20, 2017 at 12:53:04PM -0800, Stephane Eranian escreveu: > Hi, > > I have been using the perf script -F option on the latest perf and I > find it not very convenient to use. I appreciate the + and - prefix to > field names to add or suppress them. But most of the time, I want to > print only one or two fields and I have to guess which ones are there > by default so I can suppress them. I think there should be a way to > say: start from no fields. I understand why you have default to > maintain compatibility with older perf script but I would like a > syntax to say: remove defaults. For instance: > > $ perf script -F --,+ip,+syms ..... > > Where -- would mean drop all defaults. $ perf script -F -*,+ip,+syms But perhaps using a new option and do away with all those prefixes? - Arnaldo From 1584686736441338446@xxx Tue Nov 21 14:37:20 +0000 2017 X-GM-THRID: 1584619914255435599 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread