diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2024-06-25 13:45:31 +0300 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2024-07-03 01:24:01 +0300 |
commit | 36b4cd990a8fd3f5b748883050e9d8c69fe6398d (patch) | |
tree | fc8a200e08577f0bcd56600aff4288c728e32796 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 74ad3cb08b0166776c41a460b70034edb02acb65 (diff) | |
download | linux-36b4cd990a8fd3f5b748883050e9d8c69fe6398d.tar.xz |
perf intel-pt: Fix aux_watermark calculation for 64-bit size
aux_watermark is a u32. For a 64-bit size, cap the aux_watermark
calculation at UINT_MAX instead of truncating it to 32-bits.
Fixes: 874fc35cdd55 ("perf intel-pt: Use aux_watermark")
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20240625104532.11990-2-adrian.hunter@intel.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions