Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934191AbbLPQ0n (ORCPT ); Wed, 16 Dec 2015 11:26:43 -0500 Received: from one.firstfloor.org ([193.170.194.197]:46827 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753728AbbLPQ0m (ORCPT ); Wed, 16 Dec 2015 11:26:42 -0500 Date: Wed, 16 Dec 2015 17:26:39 +0100 From: Andi Kleen To: Stephane Eranian Cc: Andi Kleen , Arnaldo Carvalho de Melo , Peter Zijlstra , Jiri Olsa , Ingo Molnar , LKML , Namhyung Kim , Andi Kleen Subject: Re: [PATCH 08/10] x86, perf: Support sysfs files depending on SMT status Message-ID: <20151216162639.GY15533@two.firstfloor.org> References: <1450227266-2501-1-git-send-email-andi@firstfloor.org> <1450227266-2501-9-git-send-email-andi@firstfloor.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 976 Lines: 25 On Wed, Dec 16, 2015 at 04:48:52AM -0800, Stephane Eranian wrote: > Andi, > > On Tue, Dec 15, 2015 at 4:54 PM, Andi Kleen wrote: > > > > From: Andi Kleen > > > > Add a way to show different sysfs events attributes depending on > > HyperThreading is on or off. This is difficult to determine > > early at boot, so we just do it dynamically when the sysfs > > attribute is read. > > > The only attribute I can think of is the any thread bit. > But I do not see this in this patch. Is this somewhere else? Yes the "Intel Core" patch uses the Any bit when SMT is on. We need different events, formulas and factors for SMT. This patch just adds a the infrastructure to support this. -Andi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/