aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorHeiko Carstens <[email protected]>2021-07-29 16:28:11 +0200
committerHeiko Carstens <[email protected]>2021-07-30 17:09:02 +0200
commit09b1b13461e12e6962baf0c5bb9f65bedf284d90 (patch)
tree1a9fd184a124c30f300ffdae589fcb4c04cad71e /tools/perf/scripts/python/bin/stackcollapse-report
parentd6de72cf9260723f57cc4c6358b1f55e54898c3e (diff)
kcsan: use u64 instead of cycles_t
cycles_t has a different type across architectures: unsigned int, unsinged long, or unsigned long long. Depending on architecture this will generate this warning: kernel/kcsan/debugfs.c: In function ‘microbenchmark’: ./include/linux/kern_levels.h:5:25: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘cycles_t’ {aka ‘long unsigned int’} [-Wformat=] To avoid this simply change the type of cycle to u64 in microbenchmark(), since u64 is of type unsigned long long for all architectures. Acked-by: Marco Elver <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Carstens <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions