Received: by 10.223.164.202 with SMTP id h10csp4282485wrb; Mon, 20 Nov 2017 12:55:13 -0800 (PST) X-Google-Smtp-Source: AGs4zMZMJymqJjklsUWunmrwFpAlg2hZ+qK8SeNVYFRoYGOcQMwMlQZ+oLQcD8WaqG59BFXdEBCr X-Received: by 10.99.111.67 with SMTP id k64mr14593879pgc.234.1511211313482; Mon, 20 Nov 2017 12:55:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511211313; cv=none; d=google.com; s=arc-20160816; b=zxReaK4+uoP1/rKYWMQtPA0rBuVCX/iamQKMDIRBjzHIArNSxi1VA1zKp38WsDZf+g z/QrnNUE4EAHiOepwv8qd/d7nFf4viD+lBxJK/cNP+aJKQJHpNoSEzqr/4XWUO0RThSO wZq3Z3GyTup8wU7UVk3omexan+srWGflQxxxR5Gaj5Lr3OURB0cIaxqlqrwHXsbnIqCz 1osqRzrZxvavXzyt5KkScgcts+whQ+5PXhTZjqY639o0vYG1kyFlJapIWbnH3EVJQ1xf ZSw6I6rAN2WMe5zKpDOi4RyTiuNOBrDJKbhnnMV0UQxwp6iGCC9uNYg0k/zmiK9UOfBo 5xdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :mime-version:dkim-signature:arc-authentication-results; bh=9VVMsMc284UhcLD9zXPhg0Wf4fpJJ53RAkiYbGfFjjk=; b=hf5MiqsDYYqkY4IRhwRqo+UFZyEkjPJxrGZaN18PCPKK9ZikB70VpBfZ+ARTFJzchj neMJ7JlT0X9N7NZdAqLKMRhg8x52GXaCN3brOiDF6zRyFRNy+LWAsPqb855Gcr6hB9PX HpL6NH0vb2WitpB7OgwGJcl67lHYzcc3LEkD4vTbpKkIJuXZI3M0i/PpCGhmCQ5mdblK nYFSZ19i2IV+wxiC54p42gt+m4wVIRCtOEV5f6l4gEWkGPNWCZwWnAdvbahThTAa6OzV 8MmMtolGOuY4Yn+UlBiE8nqT3f8kv/Lnemh/zBoT4QVPlPb4ri+reWSJ2k151emeJqy7 L2cA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=uei0H7TR; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h8si8813762pgq.287.2017.11.20.12.55.03; Mon, 20 Nov 2017 12:55:13 -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; dkim=pass header.i=@google.com header.s=20161025 header.b=uei0H7TR; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752997AbdKTUxG (ORCPT + 67 others); Mon, 20 Nov 2017 15:53:06 -0500 Received: from mail-io0-f169.google.com ([209.85.223.169]:38247 "EHLO mail-io0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752824AbdKTUxF (ORCPT ); Mon, 20 Nov 2017 15:53:05 -0500 Received: by mail-io0-f169.google.com with SMTP id h205so16396047iof.5 for ; Mon, 20 Nov 2017 12:53:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=9VVMsMc284UhcLD9zXPhg0Wf4fpJJ53RAkiYbGfFjjk=; b=uei0H7TRuwJzuiRwEYAHxVtOffIu3img0F8qOOwov8MCT9vSfxqfZ5fU7Oi1HncbWY tU9eLhIK5t5D5g7GNjtWcci03Uxp8W0IuyTj07MzI30OsExR/b3DFH8Hyjh5rlDesjI7 usDGZ3RBK8e4PLX8gJTQl4GjmYy75N/+s5grfpk7bEjUTlb4MyAyZerKJQJHdonntbK+ hCJ1SeOFCnYZowaPsSVBaIYCmgHm9lZ3tm7Zy1ssCz3wz+w8DHxXhewZlK8zQaL38ILY ydyhoDqUwInmmlXkHNe17WT1sKJpu2WRrn7FxkSaZ9j9oVBg6cP/OMYAcIitUSeDP6Nw +kcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=9VVMsMc284UhcLD9zXPhg0Wf4fpJJ53RAkiYbGfFjjk=; b=HlURo8y+TD4K6cvS2UcuC0Ji+V/0qKplwQZYVdIz98aqQfxEA9QAdMLzgcKH7XRFhm EB0H3wSw1fCRztyHMtIkI8pN2jpy7KY0lZiZp7tP3+8Zm71NbSfK99gZhLO8G2aBqDtz WTJnA6fXX1RANmGy3Is8XE6XAM4y3CBmNT7Eb9h8Ok9HpaklJUEgmOP/PHrSVFJgrPo9 0e4PW6M2vTqR9cBDFlX2s6RjL+kFZ4ZloGOZgwzwq92gw5BZi4gmIFbsdrGLqw24KjG4 Z8zYne2M6lEWrRbt8b+s0P4QEtRA8X9O6AQWSeCR11Hu/g8JZ/kniNtp5ZqSVDYimsrE ExQA== X-Gm-Message-State: AJaThX4j+DTONEd97hUpEZqFU2Z11h0of5G+bi3Xn7QaBCM4eT2gKpbA nRgS6G7udqWJz4teW6rHZexlEW/PnE4+4+LiyJuH7svC X-Received: by 10.107.6.81 with SMTP id 78mr15377972iog.204.1511211184747; Mon, 20 Nov 2017 12:53:04 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.164.15 with HTTP; Mon, 20 Nov 2017 12:53:04 -0800 (PST) From: Stephane Eranian Date: Mon, 20 Nov 2017 12:53:04 -0800 Message-ID: Subject: [RFC] perf script: modify field selection option To: LKML Cc: Jiri Olsa , Arnaldo Carvalho de Melo , Peter Zijlstra , mingo@elte.hu, Andi Kleen , David Ahern Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Any better suggestions? From 1584678840230618775@xxx Tue Nov 21 12:31:49 +0000 2017 X-GM-THRID: 1580183121510617626 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread