diff options
author | Patryk Wlazlyn <patryk.wlazlyn@linux.intel.com> | 2024-12-20 15:38:34 +0300 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2025-01-14 22:50:53 +0300 |
commit | 2f60f03934a50bc1fb69bb4f47a25cddd6807b0b (patch) | |
tree | e9cd9ea8598ba3a36ebbdb360be46a304e0d249d /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 4a358ba215dfefe161b5904e51e48f5f0e82652f (diff) | |
download | linux-2f60f03934a50bc1fb69bb4f47a25cddd6807b0b.tar.xz |
tools/power turbostat: Fix PMT mmaped file size rounding
This (the old code) is just not how you round up to a page size.
Noticed on a recent Intel platform. Previous ones must have been
reporting sizes already aligned to a page and so the bug was missed when
testing.
Fixes: f0e4ed752fda ("tools/power turbostat: Add early support for PMT counters")
Signed-off-by: Patryk Wlazlyn <patryk.wlazlyn@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions