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: NAndi Kleen <ak@linux.intel.com> Acked-by: NJiri Olsa <jolsa@kernel.org> Link: http://lkml.kernel.org/r/20170811232634.30465-7-andi@firstfloor.orgSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
Showing
tools/perf/util/smt.c
0 → 100644
tools/perf/util/smt.h
0 → 100644
想要评论请 注册 或 登录