From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7FDF8C4361B for ; Mon, 7 Dec 2020 19:55:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4D2C621D7F for ; Mon, 7 Dec 2020 19:55:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726819AbgLGTze (ORCPT ); Mon, 7 Dec 2020 14:55:34 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:49413 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725947AbgLGTze (ORCPT ); Mon, 7 Dec 2020 14:55:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1607370847; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=tFrKOV1BLc45Eb5xzztDBxsVCtCYfxdlUliSYWsrF50=; b=WdQDAzjHG2dLqmbF/nSvFOE2GXGf57VasnT05nwnQtSYviAzdkneH65+ccMK/xcbj7aqqq TNvXl9l7m/CGmtMc0pQD+S/Zt6Afrz8ayOrbtikVXkWpKGV9UoRq79U9S1fYZ2xVlxFu+i enmIO9ou/jNKad8m98qcaBJtDIboORw= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-186-9JQsb76OP-uKbg4ike39rQ-1; Mon, 07 Dec 2020 14:54:06 -0500 X-MC-Unique: 9JQsb76OP-uKbg4ike39rQ-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 78714192D787; Mon, 7 Dec 2020 19:54:04 +0000 (UTC) Received: from krava (unknown [10.40.192.62]) by smtp.corp.redhat.com (Postfix) with SMTP id 408241001E73; Mon, 7 Dec 2020 19:53:59 +0000 (UTC) Date: Mon, 7 Dec 2020 20:53:58 +0100 From: Jiri Olsa To: Alexei Budankov Cc: Arnaldo Carvalho de Melo , Jiri Olsa , lkml , Peter Zijlstra , Ingo Molnar , Mark Rutland , Namhyung Kim , Alexander Shishkin , Michael Petlan , Ian Rogers , Stephane Eranian Subject: Re: [PATCH 3/3] perf tools: Allow to list events via control file Message-ID: <20201207195358.GB4103648@krava> References: <20201206170519.4010606-1-jolsa@kernel.org> <20201206170519.4010606-4-jolsa@kernel.org> <20201207162806.GE125383@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 07, 2020 at 08:09:06PM +0300, Alexei Budankov wrote: SNIP > > sched:sched_move_numa: type: 2, size: 120, config: 0x12c, { sample_period, sample_freq }: 1, sample_type: IP|TID|TIME|ID|CPU|PERIOD|RAW, read_format: ID, disabled: 1, inherit: 1, enable_on_exec: 1, sample_id_all: 1, exclude_guest: 1 > > sched:sched_stick_numa: type: 2, size: 120, config: 0x12b, { sample_period, sample_freq }: 1, sample_type: IP|TID|TIME|ID|CPU|PERIOD|RAW, read_format: ID, disabled: 1, inherit: 1, enable_on_exec: 1, sample_id_all: 1, exclude_guest: 1 > > sched:sched_swap_numa: type: 2, size: 120, config: 0x12a, { sample_period, sample_freq }: 1, sample_type: IP|TID|TIME|ID|CPU|PERIOD|RAW, read_format: ID, disabled: 1, inherit: 1, enable_on_exec: 1, sample_id_all: 1, exclude_guest: 1 > > sched:sched_wake_idle_without_ipi: type: 2, size: 120, config: 0x129, { sample_period, sample_freq }: 1, sample_type: IP|TID|TIME|ID|CPU|PERIOD|RAW, read_format: ID, disabled: 1, inherit: 1, enable_on_exec: 1, sample_id_all: 1, exclude_guest: 1 > > # Tip: use 'perf evlist --trace-fields' to show fields for tracepoint events > > [acme@five ~]$ > > > > Also I think we should use 'evlist' instead of 'list', to be consistent. > > FWIW, > > Or may be even name the command starting with a verb like 'list_events' I think evlist is better because there's 'perf evlist' command thanks, jirka