Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752259AbdLMHW2 (ORCPT ); Wed, 13 Dec 2017 02:22:28 -0500 Received: from merlin.infradead.org ([205.233.59.134]:39824 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751609AbdLMHWY (ORCPT ); Wed, 13 Dec 2017 02:22:24 -0500 Date: Wed, 13 Dec 2017 08:21:47 +0100 From: Peter Zijlstra To: Megha Dey Cc: x86@kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, andriy.shevchenko@linux.intel.com, kstewart@linuxfoundation.org, yu-cheng.yu@intel.com, len.brown@intel.com, gregkh@linuxfoundation.org, acme@kernel.org, alexander.shishkin@linux.intel.com, jolsa@redhat.com, namhyung@kernel.org, vikas.shivappa@linux.intel.com, pombredanne@nexb.com, me@kylehuey.com, bp@suse.de, grzegorz.andrejczuk@intel.com, tony.luck@intel.com, corbet@lwn.net, ravi.v.shankar@intel.com, Mark Rutland Subject: Re: [PATCH V2 2/3] perf/x86/intel/bm.c: Add Intel Branch Monitoring support Message-ID: <20171213072146.7zbledeffvwskxx6@hirez.programming.kicks-ass.net> References: <1510970046-25387-1-git-send-email-megha.dey@linux.intel.com> <1510970046-25387-3-git-send-email-megha.dey@linux.intel.com> <20171120115714.hden247iet4bf2t5@hirez.programming.kicks-ass.net> <1513113057.11361.7.camel@megha-Z97X-UD7-TH> <20171212223253.wtvei7i6fz2h3dpn@hirez.programming.kicks-ass.net> <1513120080.11361.12.camel@megha-Z97X-UD7-TH> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1513120080.11361.12.camel@megha-Z97X-UD7-TH> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 520 Lines: 15 On Tue, Dec 12, 2017 at 03:08:00PM -0800, Megha Dey wrote: > > > > There's work on the way to allow multiple HW PMUs. You'll either have to > > wait for that or help in making that happen. What you do not do is > > silently hack around it. > > Could I get a pointer to the code implementing this? > There isn't much code now; but it could be build on top of the stuff here: git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git perf/core It was mostly Mark I think who wanted this for big litte stuffs.