diff options
author | 2021-11-23 16:12:29 -0800 | |
---|---|---|
committer | 2021-12-06 21:57:53 -0300 | |
commit | 4ffbe87e2d5b53bcb0213d8650bbe70bf942de6a (patch) | |
tree | c8174f3d060de93c0b61b5f497cd19c136d9ced8 /scripts/gdb/linux/utils.py | |
parent | tools headers UAPI: Sync powerpc syscall table file changed by new futex_waitv syscall (diff) | |
download | linux-dev-4ffbe87e2d5b53bcb0213d8650bbe70bf942de6a.tar.xz linux-dev-4ffbe87e2d5b53bcb0213d8650bbe70bf942de6a.zip |
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 <irogers@google.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: John Garry <john.garry@huawei.com>
Cc: Kajol Jain <kjain@linux.ibm.com>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Konstantin Khlebnikov <koct9i@gmail.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Clarke <pc@us.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lore.kernel.org/lkml/20211124001231.3277836-2-irogers@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions