aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorHao Luo <[email protected]>2020-09-29 16:50:45 -0700
committerAlexei Starovoitov <[email protected]>2020-10-02 14:59:25 -0700
commitd370bbe1214381f444cbd9cdf3b8647223abb536 (patch)
treed4a0fd5035fb2c95af17be35073c99958913cd49 /tools/perf/scripts/python/stackcollapse.py
parent4976b718c3551faba2c0616ef55ebeb74db1c5ca (diff)
bpf/libbpf: BTF support for typed ksyms
If a ksym is defined with a type, libbpf will try to find the ksym's btf information from kernel btf. If a valid btf entry for the ksym is found, libbpf can pass in the found btf id to the verifier, which validates the ksym's type and value. Typeless ksyms (i.e. those defined as 'void') will not have such btf_id, but it has the symbol's address (read from kallsyms) and its value is treated as a raw pointer. Signed-off-by: Hao Luo <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Andrii Nakryiko <[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