commit | de5077c4e38f2a51f50d28bdd5e4a0f14b3d16ff | [log] [tgz] |
---|---|---|
author | Andi Kleen <ak@linux.intel.com> | Fri Aug 11 16:26:22 2017 -0700 |
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | Tue Aug 22 12:09:04 2017 -0300 |
tree | 95de3aa45603112fa658a9b12f9e2e591bec57e9 | |
parent | 77d0871c76bad1093a3d86870fe76dd1ad0ca397 [diff] |
perf tools: Add utility function to detect SMT status Add an smt_on() function to return if SMT is enabled or disabled. Used in the next patch. Signed-off-by: Andi Kleen <ak@linux.intel.com> Acked-by: Jiri Olsa <jolsa@kernel.org> Link: http://lkml.kernel.org/r/20170811232634.30465-7-andi@firstfloor.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>