Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp762275pxb; Fri, 22 Apr 2022 10:36:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzuyd/hfpDUw1sIrjEipibNgDsWSw+qGyLaQBNlnrJi3f0ByU+WkHDF5dZrF4zFuW7LPBYF X-Received: by 2002:a05:6808:1201:b0:2d9:a01a:48b8 with SMTP id a1-20020a056808120100b002d9a01a48b8mr6704435oil.259.1650648967855; Fri, 22 Apr 2022 10:36:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650648967; cv=none; d=google.com; s=arc-20160816; b=Jq17+/3O+Y3HmRXJ3KbvtcPoSNXfEmLAXgrU73EHlp6dF7916DfDa0n7YvCze/8Nza wDW75lPPpvX8cYZcEmkfMtVbdU1oZ78TohjmEtNXzbVuHv126aiW2BY/btFsMSJ2q+Cq X/ajesiyhJg4xqrczhYXKcUERAQ18RkXPNUT++iR4mcpCiRENCK2jU/rq2B0KnRMYr/4 cC92a5t4+1AjtyMx8+Jg3VRGbUfMkdybi48EF8a16uaKTnA/hCPABO+ACg1MdkF+t6lA fHSsHh36sVnLrMDd/qcgpIZNhTZ3U4mPXu+2p/CzRCNC+9wiRHXmy+zaVDcDXDPBLtjh faeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=0wIirlwnnT45+82YiTyu86b1NUzFeUQz+fNKBVJ1j5s=; b=NiFYaIr1S9JujsYHPhWhOA0CmZLuZHs781eZFnPJKUWEhoG5CvhVbtOBmIJ1srhbXD 0R9Pl0ybZ4g4nLgCDFl94toJbYOrq3M6rjAZte6AIk4KR2aini1y17zIXxMXCmNOePTF QZmbn1F6n6mJdzFCGSs73nibUP7pVWgJ/P+i3Wge3UuDqPgeiObG8qznyBdyZdGsLovo cPNvoB11k+P+Qsg3dcoAvfcurAd1YG/rsqIW/8GnuJEBJnxH07S8A8Pf4YVxUT9xVlQd D4JE+mVe92W53y22zRa3Y/e0AIMfiox9GOMqUY9vE35HdtXIFwX+vLk4M/6jvIq4HZ/H sYzA== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id k2-20020a056870570200b000e22c6974b1si2739767oap.154.2022.04.22.10.36.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 10:36:07 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0A6D5BC861; Fri, 22 Apr 2022 10:26:17 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1381269AbiDTRqO (ORCPT + 99 others); Wed, 20 Apr 2022 13:46:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1381241AbiDTRqH (ORCPT ); Wed, 20 Apr 2022 13:46:07 -0400 Received: from euporie.uberspace.de (euporie.uberspace.de [185.26.156.232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D87B47073 for ; Wed, 20 Apr 2022 10:43:18 -0700 (PDT) Received: (qmail 24508 invoked by uid 989); 20 Apr 2022 17:43:16 -0000 Authentication-Results: euporie.uberspace.de; auth=pass (plain) From: Florian Fischer To: Arnaldo Carvalho de Melo Cc: Xing Zhengjun , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Peter Zijlstra , Ingo Molnar Subject: [PATCH v5] perf list: print all available tool events Date: Wed, 20 Apr 2022 19:42:43 +0200 Message-Id: <20220420174244.1741958-1-florian.fischer@muhq.space> X-Mailer: git-send-email 2.36.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Bar: + X-Rspamd-Report: BAYES_SPAM(0.000069) R_MISSING_CHARSET(0.5) MIME_GOOD(-0.1) MID_CONTAINS_FROM(1) X-Rspamd-Score: 1.400069 Received: from unknown (HELO unkown) (::1) by euporie.uberspace.de (Haraka/2.8.28) with ESMTPSA; Wed, 20 Apr 2022 19:43:16 +0200 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER, RDNS_NONE,SPF_HELO_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >> Introduce names for the new tool events 'user_time' and 'system_time'. > > Before: > > duration_time [Tool event] > > After: > > $ perf list | grep Tool > duration_time OR [Tool event] > user_time OR [Tool event] > system_time OR [Tool event] > $ > > So now we have that extraneous "OR", can you please take a look? > Probably needs to check if there is an alias? > > - Arnaldo Sorry about that. Exactly as you guessed the code was missing a check if the tool event actually has an alias. Fixed Output: $ perf list | grep Tool duration_time [Tool event] user_time [Tool event] system_time [Tool event] [v5]: Add missing alias check. Florian Fischer