Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1022792ybh; Tue, 10 Mar 2020 13:00:05 -0700 (PDT) X-Google-Smtp-Source: ADFU+vu/qfXqrGUfFYlown5jW+bxtuTd1sKy2NMerynWNrnTejE1KbwfShK5kU+xqIyEgLESD8sL X-Received: by 2002:a9d:6c58:: with SMTP id g24mr8097227otq.106.1583870405815; Tue, 10 Mar 2020 13:00:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583870405; cv=none; d=google.com; s=arc-20160816; b=pu3khor3My/LXs9xOb191JuodEHx7Dk2h/pXssy/y5GtKuLEHSEVdAVa+nadOq0WJC 73stzBUO7O2JgTLhO69kkZm6gEgUrt5S3Jgw26b2zIr0DxemO6p/IQwLBklfEo1ezVMH aBh968/7M50TOe4bowTIK1hlSyG8BDb1Tfhxho64ebgkljWJtsEoiWZIrk5+02NUYD8z 2sPzmyMFDo2g4VMe5ZB94wciqX073Hc6FUBv+a6lLosgCYMIAAlrnS7JJ1zFpz914/Dy 5OLBZzObyH9y1lDlnUiw337hj+NVoy1PR8MyiJz+U2EQb4LjImAH6OQG74zzfAECb4gL 9AVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=ADAHR06JubqD0gUKQmrGfpQck+6N1FR6JabyPN/7GuE=; b=M1sroO9O5EPSwsclPyW+TE540bo7I4M2J7h4YZLat4wE8YI5dgwjAAN03vo9XawPiC kZqP0KFKD6laC9fEbpJyZeyrzQ4peQ/8YkJPT1D5AcSKY8BgTqnjqgL/CtHF6v7VkSU1 9uXM25+IOcFUWYixY2+AbH+o4YQTyyEraUuLNkObQXnVXAx+w+an3DeQKCONNKAcRj9j XQM/5m6/8R4BIoc5/WiZMEVPDG14iZ5PF6MMxMRYU6tmPCJBu7lOAVXZwxJO8dpkklqV Tvyolkhpac+HfVN4d6xjDefulQDBSFr2nvH1murqC3qESO76W785rG2GDwTjGW7ncIWB Va2Q== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b14si11005900ots.62.2020.03.10.12.59.44; Tue, 10 Mar 2020 13:00:05 -0700 (PDT) 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727320AbgCJT7Q (ORCPT + 99 others); Tue, 10 Mar 2020 15:59:16 -0400 Received: from mga09.intel.com ([134.134.136.24]:58810 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726545AbgCJT7Q (ORCPT ); Tue, 10 Mar 2020 15:59:16 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Mar 2020 12:59:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,538,1574150400"; d="scan'208";a="231440862" Received: from tassilo.jf.intel.com (HELO tassilo.localdomain) ([10.7.201.21]) by orsmga007.jf.intel.com with ESMTP; 10 Mar 2020 12:59:15 -0700 Received: by tassilo.localdomain (Postfix, from userid 1000) id 7AF3C301BCC; Tue, 10 Mar 2020 12:59:15 -0700 (PDT) Date: Tue, 10 Mar 2020 12:59:15 -0700 From: Andi Kleen To: Ian Rogers Cc: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Yonghong Song , Andrii Nakryiko , Greg Kroah-Hartman , Thomas Gleixner , Igor Lubashev , Alexey Budankov , Florian Fainelli , Adrian Hunter , Jiwei Sun , yuzhoujian , Kan Liang , Jin Yao , Leo Yan , John Garry , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org, linux-perf-users@vger.kernel.org, Stephane Eranian Subject: Re: [PATCH] perf tools: add support for lipfm4 Message-ID: <20200310195915.GA1676879@tassilo.jf.intel.com> References: <20200310185003.57344-1-irogers@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200310185003.57344-1-irogers@google.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 10, 2020 at 11:50:03AM -0700, Ian Rogers wrote: > This patch links perf with the libpfm4 library. > This library contains all the hardware event tables for all > processors supported by perf_events. This is a helper library > that help convert from a symbolic event name to the event > encoding required by the underlying kernel interface. This > library is open-source and available from: http://perfmon2.sf.net. For most CPUs the builtin perf JSON event support should make this redundant. Perhaps you could list what CPUs it actually supports over the existing JSON tables. If it's only a few it would be likely better to add appropiate json files. If it's a massive number it might be useful, although JSON support would be better for those too. -Andi