Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752729AbcLFPFu convert rfc822-to-8bit (ORCPT ); Tue, 6 Dec 2016 10:05:50 -0500 Received: from mga06.intel.com ([134.134.136.31]:19435 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751443AbcLFPFs (ORCPT ); Tue, 6 Dec 2016 10:05:48 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,310,1477983600"; d="scan'208";a="1095360703" From: "Liang, Kan" To: Peter Zijlstra CC: "mingo@redhat.com" , "acme@kernel.org" , "linux-kernel@vger.kernel.org" , "alexander.shishkin@linux.intel.com" , "tglx@linutronix.de" , "namhyung@kernel.org" , "jolsa@kernel.org" , "Hunter, Adrian" , "wangnan0@huawei.com" , "mark.rutland@arm.com" , "andi@firstfloor.org" Subject: RE: [PATCH V2 04/13] perf/core: output multiplexing overhead Thread-Topic: [PATCH V2 04/13] perf/core: output multiplexing overhead Thread-Index: AQHSTOHTSMznnMH8d0ylgFQWN392WqD6RncAgADDXnA= Date: Tue, 6 Dec 2016 15:04:48 +0000 Message-ID: <37D7C6CF3E00A74B8858931C1DB2F07750CA9EBB@SHSMSX103.ccr.corp.intel.com> References: <1480713561-6617-1-git-send-email-kan.liang@intel.com> <1480713561-6617-5-git-send-email-kan.liang@intel.com> <20161206112330.GL3124@twins.programming.kicks-ass.net> In-Reply-To: <20161206112330.GL3124@twins.programming.kicks-ass.net> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYTA1ODg1NTQtMGQzZS00ZDE2LWIwMzItOWNlY2FiMWQxZDBjIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IkNtY05ZV2NaK0hZNUxOSXFEa3U3dmFMS2JKSU1FZWVPWW5kTmlQRmlySnM9In0= x-ctpclassification: CTP_IC x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 875 Lines: 31 > On Fri, Dec 02, 2016 at 04:19:12PM -0500, kan.liang@intel.com wrote: > > From: Kan Liang > > > > Multiplexing overhead is one of the key overhead when the number of > > events is more than available counters. > > > > The multiplexing overhead PERF_CORE_MUX_OVERHEAD is a common > overhead > > type. > > > > > diff --git a/include/uapi/linux/perf_event.h > > b/include/uapi/linux/perf_event.h index fe7b1fb..355086f 100644 > > --- a/include/uapi/linux/perf_event.h > > +++ b/include/uapi/linux/perf_event.h > > @@ -999,6 +999,7 @@ struct perf_branch_entry { > > */ > > enum perf_record_overhead_type { > > PERF_CORE_OVERHEAD = 0, > > + PERF_CORE_MUX_OVERHEAD = 0, > > '0' already had a name ?! PERF_CORE_OVERHEAD is only used to indicate the start of core overhead type. I will use comment line to replace PERF_CORE_OVERHEAD. Thanks, Kan