summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2022-02-22 15:46:10 +0300
committerJason A. Donenfeld <Jason@zx2c4.com>2022-02-24 18:32:26 +0300
commitda3951ebdcd1cb1d5c750e08cd05aee7b0c04d9a (patch)
tree08338c56e7a8ac7901b9d85fe3084e325c9e623f /tools/perf/scripts/python/export-to-sqlite.py
parent3191dd5a1179ef0fad5a050a1702ae98b6251e8f (diff)
downloadlinux-da3951ebdcd1cb1d5c750e08cd05aee7b0c04d9a.tar.xz
random: round-robin registers as ulong, not u32
When the interrupt handler does not have a valid cycle counter, it calls get_reg() to read a register from the irq stack, in round-robin. Currently it does this assuming that registers are 32-bit. This is _probably_ the case, and probably all platforms without cycle counters are in fact 32-bit platforms. But maybe not, and either way, it's not quite correct. This commit fixes that to deal with `unsigned long` rather than `u32`. Cc: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Dominik Brodowski <linux@dominikbrodowski.net> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions