aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorYang Jihong <[email protected]>2023-11-18 02:48:57 +0000
committerNamhyung Kim <[email protected]>2023-11-21 10:02:38 -0800
commit29b8e94dcf2575c17541f843741ee96691ff1ded (patch)
treeb7965c350dce54c8a63b51a7e51ef213d5e19228 /scripts/generate_rust_analyzer.py
parenta6dda77a752d918b35ef4a3f94e6b8c7d7ba4a73 (diff)
perf lock contention: Fix a build error on 32-bit
Fix a build error on 32-bit system: util/bpf_lock_contention.c: In function 'lock_contention_get_name': util/bpf_lock_contention.c:253:50: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'u64 {aka long long unsigned int}' [-Werror=format=] snprintf(name_buf, sizeof(name_buf), "cgroup:%lu", cgrp_id); ~~^ %llu cc1: all warnings being treated as errors Fixes: d0c502e46e97 ("perf lock contention: Prepare to handle cgroups") Signed-off-by: Yang Jihong <[email protected]> Acked-by: Namhyung Kim <[email protected]> Cc: [email protected] Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions