summaryrefslogtreecommitdiff
path: root/tools/lib/bpf/libbpf.h
diff options
context:
space:
mode:
authorWang Yufen <wangyufen@huawei.com>2022-09-22 14:28:44 +0800
committerAndrii Nakryiko <andrii@kernel.org>2022-09-23 14:18:03 -0700
commite588c116df6ca64a295017571151992c76d03132 (patch)
treeddad21aaae675826b80cc974ed208359b28bbf7b /tools/lib/bpf/libbpf.h
parente0401dce5e28fb7118dbfd055c77d94433778a85 (diff)
libbpf: Add pathname_concat() helper
Move snprintf and len check to common helper pathname_concat() to make the code simpler. Signed-off-by: Wang Yufen <wangyufen@huawei.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/1663828124-10437-1-git-send-email-wangyufen@huawei.com
Diffstat (limited to 'tools/lib/bpf/libbpf.h')
0 files changed, 0 insertions, 0 deletions