aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2024-01-22 18:13:37 +0000
committerOliver Upton <oliver.upton@linux.dev>2024-02-08 15:12:44 +0000
commitd42bf63fd4db20e1a7a414c2ebe257a81c8c7d6e (patch)
tree51643fb3ef427dbc9a29ad1aadc869f552705e6a /tools/perf/scripts/python/libxed.py
parentd9a065914dccce0bbd967cdef1ec21b4de545daf (diff)
arm64: cpufeature: Correctly display signed override values
When a field gets overriden, the kernel indicates the result of the override in dmesg. This works well with unsigned fields, but results in a pretty ugly output when the field is signed. Truncate the field to its width before displaying it. Reviewed-by: Oliver Upton <oliver.upton@linux.dev> Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Link: https://lore.kernel.org/r/20240122181344.258974-4-maz@kernel.org Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions