aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2019-12-13 17:43:31 -0800
committerAlexei Starovoitov <[email protected]>2019-12-15 15:58:05 -0800
commit9f81654eebe8de7e0db15534816d8f6c84b2e1e5 (patch)
treef3ec70c140ca6c5711ade0e0e81d12b9a4c9ac5e /tools/perf/scripts/python/netdev-times.py
parent3d208f4ca111a614903f49d5a77b93ddc6de294e (diff)
libbpf: Expose BTF-to-C type declaration emitting API
Expose API that allows to emit type declaration and field/variable definition (if optional field name is specified) in valid C syntax for any provided BTF type. This is going to be used by bpftool when emitting data section layout as a struct. As part of making this API useful in a stand-alone fashion, move initialization of some of the internal btf_dump state to earlier phase. Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Martin KaFai Lau <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions