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.orgSigned-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Showing
tools/perf/util/smt.c
0 → 100644
tools/perf/util/smt.h
0 → 100644
Please register or sign in to comment