diff options
author | 2022-07-04 11:15:58 +0100 | |
---|---|---|
committer | 2022-07-04 16:22:29 +0100 | |
commit | 9eb5e54f876dda1aae0aef10bdd61da4331509ba (patch) | |
tree | 56ae2ad394ffabdee80fa6a2d11171c43c6b481f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | arch_topology: Set thread sibling cpumask only within the cluster (diff) | |
download | linux-dev-9eb5e54f876dda1aae0aef10bdd61da4331509ba.tar.xz linux-dev-9eb5e54f876dda1aae0aef10bdd61da4331509ba.zip |
arch_topology: Check for non-negative value rather than -1 for IDs validity
Instead of just comparing the cpu topology IDs with -1 to check their
validity, improve that by checking for a valid non-negative value.
Link: https://lore.kernel.org/r/20220704101605.1318280-15-sudeep.holla@arm.com
Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Tested-by: Ionela Voinescu <ionela.voinescu@arm.com>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Gavin Shan <gshan@redhat.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions