diff options
author | Ian Rogers <[email protected]> | 2021-11-23 16:12:29 -0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2021-12-06 21:57:53 -0300 |
commit | 4ffbe87e2d5b53bcb0213d8650bbe70bf942de6a (patch) | |
tree | c8174f3d060de93c0b61b5f497cd19c136d9ced8 /scripts/bpf_doc.py | |
parent | cba43fcf7aaf8369f80aac26cc2c50232c065a9e (diff) |
perf tools: Fix SMT detection fast read path
sysfs__read_int() returns 0 on success, and so the fast read path was
always failing.
Fixes: bb629484d924118e ("perf tools: Simplify checking if SMT is active.")
Signed-off-by: Ian Rogers <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: John Garry <[email protected]>
Cc: Kajol Jain <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: Konstantin Khlebnikov <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Clarke <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions