aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorAlexei Starovoitov <[email protected]>2019-10-15 20:24:56 -0700
committerDaniel Borkmann <[email protected]>2019-10-17 16:44:35 +0200
commit7c6a469e3416fa23568c2395a3faa7dd6e376dcb (patch)
tree522ea704e48e044ab6a643025e1a84c4ec3ede56 /tools/perf/scripts/python/exported-sql-viewer.py
parente8c423fb31fa8b1ef6d7cd14a168de33e7c0d702 (diff)
bpf: Add typecast to bpf helpers to help BTF generation
When pahole converts dwarf to btf it emits only used types. Wrap existing bpf helper functions into typedef and use it in typecast to make gcc emits this type into dwarf. Then pahole will convert it to btf. The "btf_#name_of_helper" types will be used to figure out types of arguments of bpf helpers. The generated code before and after is the same. Only dwarf and btf sections are different. Signed-off-by: Alexei Starovoitov <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Acked-by: John Fastabend <[email protected]> Acked-by: Martin KaFai Lau <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions