From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753231AbeANUxi (ORCPT + 1 other); Sun, 14 Jan 2018 15:53:38 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:38486 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752047AbeANUxh (ORCPT ); Sun, 14 Jan 2018 15:53:37 -0500 Date: Sun, 14 Jan 2018 21:53:30 +0100 (CET) From: Thomas Gleixner To: Kan Liang cc: peterz@infradead.org, mingo@redhat.com, linux-kernel@vger.kernel.org, acme@kernel.org, eranian@google.com, ak@linux.intel.com Subject: Re: [PATCH V4 7/8] perf/x86/intel/uncore: expose uncore_pmu_event functions In-Reply-To: <1509654593-4446-7-git-send-email-kan.liang@intel.com> Message-ID: References: <1509654593-4446-1-git-send-email-kan.liang@intel.com> <1509654593-4446-7-git-send-email-kan.liang@intel.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Thu, 2 Nov 2017, kan.liang@intel.com wrote: > From: Kan Liang > > Some uncore has custom pmu. For custom pmu, it does not need to > customize everything. For example, it only needs to customize init() > function for client IMC uncore. Other functions like > add()/del()/start()/stop()/read() can use generic code. > > Expose the uncore_pmu_event_add/del/start/stop functions. > > Signed-off-by: Kan Liang Reviewed-by: Thomas Gleixner