aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorLiwei Song <[email protected]>2024-07-22 16:32:59 +0800
committerDaniel Borkmann <[email protected]>2024-07-22 16:35:30 +0200
commit13c9b702e6cb8e406d5fa6b2dca422fa42d2f13e (patch)
tree649319e8d9e842ebc8abe3b7041a81a0cd197fe9 /tools/perf/scripts/python/stackcollapse.py
parent0be9ae5486cd9e767138c13638820d240713f5f1 (diff)
tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids
Add a type cast for set8->pairs to fix below compile warning: main.c: In function 'sets_patch': main.c:699:50: warning: comparison of distinct pointer types lacks a cast 699 | BUILD_BUG_ON(set8->pairs != &set8->pairs[0].id); | ^~ Fixes: 9707ac4fe2f5 ("tools/resolve_btfids: Refactor set sorting with types from btf_ids.h") Signed-off-by: Liwei Song <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Jiri Olsa <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions