lkml.org 
[lkml]   [2016]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 01/11] x86, perf: Support sysfs files depending on SMT status
On Wed, Apr 27, 2016 at 01:00:41PM -0700, Andi Kleen wrote:
> From: Andi Kleen <ak@linux.intel.com>
>
> 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.

Thomas would like to have this in the general (x86) topology bits.

Because having SMT enabled (or not) is not something perf specific (nor
Intel, because apparently AMD is going to do proper SMT too with their
Zen micro-arch), and might very well be useful for other thingies to
know.

So I suppose it should end up somewhere around:

/sys/devices/system/cpu/


\
 
 \ /
  Last update: 2016-04-28 10:21    [W:0.095 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site