Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1639465pxb; Thu, 4 Mar 2021 17:12:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJyrjgT+zTN6PHDb3wqCVVvWFLzgG5i4zbMZrLddyhlpR423r0jNaKPBlG7t9ADnFZKDrEpO X-Received: by 2002:a05:6e02:2182:: with SMTP id j2mr6381745ila.5.1614906746889; Thu, 04 Mar 2021 17:12:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614906746; cv=none; d=google.com; s=arc-20160816; b=OBTo6D3iLnOvzu8y5kKXebERILznsLUrb2F2eFWQd5XmkyatyY6un7H0c47vPeSWGK D1HHUqF7S0CdGnHovNCKtcaZg95tiVLIavZoj0hmYvvmSsl8QEtRoR3UE4mUjsFxKQhB dQHBX/DQiMuK4Ej5qP1AAhMUmWTlowWAntn5kQw2zU2kV84yyZSrqhtYt9t2jKxo44jJ sixTALR6pPvYWhWA6GWiQ6nx5s9R+dRHfF87v75Sx7pLtw+4pi4Wo/FjmKC6nrmUvj1T tdM3rvNF7Inf38sytNu/eHksAGV+yWy3tmtreyOYN9ANcvX4iO7LCaqTut6EJyi3zZxG uklA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:ironport-sdr :ironport-sdr; bh=cBMQKPKdeo9kSOsC74WKgOKM9EpybcdkNJJjY0A3BRA=; b=EB3EGWBDoOQWjS0bhZdpGj8SKPF9NZ62FcaSRUDaxAgHFER0k3rsz4mT4MsY08bob+ TQtb3n3S64yxc8FUskFaXnCxtyatBIwGMC1d3lSRS9Z1dnWiZmwmHJUndcTlDSp79xDA V7OFr2uujrESgVfAESM48XkHz67hkHQAbHh/hgRyUZLMTp4N8Ryh8A3XEIGRvy61dZNX b/Bsg4CR9iNN8K5l4dgT6bwGDZOXdnubftAryjNDPRbTL7AXLpDlUwBN5UdXDtafxuQc m0NFSiTlhSGf4xY7KUketywS6z4M2E5VQgxdwVwzDKaQxEhJE8U1IIGim1j0bXXwcXDB A44Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x15si993938iow.18.2021.03.04.17.11.20; Thu, 04 Mar 2021 17:12:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229547AbhCEBKU (ORCPT + 99 others); Thu, 4 Mar 2021 20:10:20 -0500 Received: from mga06.intel.com ([134.134.136.31]:33105 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbhCEBKU (ORCPT ); Thu, 4 Mar 2021 20:10:20 -0500 IronPort-SDR: F8woVAZ9oV42mNP0k4IakWQXjQ8bgRjFA/kswIeBFB+IlPnWJRhrIvxqauZMNqK519vJLDvEx3 VZDcGDRdAcgw== X-IronPort-AV: E=McAfee;i="6000,8403,9913"; a="248930895" X-IronPort-AV: E=Sophos;i="5.81,224,1610438400"; d="scan'208";a="248930895" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Mar 2021 17:10:19 -0800 IronPort-SDR: UIzbXCVQYEJ/zD6grTfxo/M9YSWVrYyga9y6hcgfZfGjk32KBjSJKVFI0Mzw68O9+RXBs1XfxN mZnu8SIYImxQ== X-IronPort-AV: E=Sophos;i="5.81,224,1610438400"; d="scan'208";a="408065591" Received: from tassilo.jf.intel.com ([10.54.74.11]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Mar 2021 17:10:19 -0800 Date: Thu, 4 Mar 2021 17:10:18 -0800 From: Andi Kleen To: Jin Yao Cc: acme@kernel.org, jolsa@kernel.org, peterz@infradead.org, mingo@redhat.com, alexander.shishkin@linux.intel.com, Linux-kernel@vger.kernel.org, kan.liang@intel.com, yao.jin@intel.com Subject: Re: [PATCH] perf pmu: Validate raw event with sysfs exported format bits Message-ID: <20210305011018.GL472138@tassilo.jf.intel.com> References: <20210303051736.26974-1-yao.jin@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210303051736.26974-1-yao.jin@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Single event: > > # ./perf stat -e cpu/r031234/ -a -- sleep 1 > WARNING: event config '31234' not valid (bits 16 17 not supported by kernel)! Just noticed that again. Can you please print the original event as string in the message? While it's obvious with rXXX which one it is, it may not be obvious with offsetted fields (like umask=0x121212), and hard to find in a long command line. -Andi