aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorYonghong Song <[email protected]>2019-02-04 11:00:57 -0800
committerAlexei Starovoitov <[email protected]>2019-02-04 12:48:36 -0800
commitb8dcf8d149db5999d3db937822d3e374eca68b9f (patch)
tree6b72047ea531970401b0a7523f5d7557e5d0f01b /scripts/gcc-plugins/cyc_complexity_plugin.c
parent7e8a5903774bc5ce76efc1ed2782fa906e58f8a8 (diff)
tools/bpf: expose functions btf_ext__* as API functions
The following set of functions, which manipulates .BTF.ext section, are exposed as API functions: . btf_ext__new . btf_ext__free . btf_ext__reloc_func_info . btf_ext__reloc_line_info . btf_ext__func_info_rec_size . btf_ext__line_info_rec_size These functions are useful for JIT based bpf codegen, e.g., bcc, to manipulate in-memory .BTF.ext sections. The signature of function btf_ext__reloc_func_info() is also changed to be the same as its definition in btf.c. Acked-by: Martin KaFai Lau <[email protected]> Signed-off-by: Yonghong Song <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions