mirror of
https://github.com/netdata/libbpf.git
synced 2026-04-05 08:09:07 +08:00
libbpf: Add uprobe_multi attach type and link names
Adding new uprobe_multi attach type and link names, so the functions can resolve the new values. Acked-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Jiri Olsa <jolsa@kernel.org> Link: https://lore.kernel.org/r/20230809083440.3209381-8-jolsa@kernel.org Signed-off-by: Alexei Starovoitov <ast@kernel.org>
This commit is contained in:
committed by
Andrii Nakryiko
parent
c1a12134bd
commit
a1c2e05c4f
@@ -120,6 +120,7 @@ static const char * const attach_type_name[] = {
|
|||||||
[BPF_NETFILTER] = "netfilter",
|
[BPF_NETFILTER] = "netfilter",
|
||||||
[BPF_TCX_INGRESS] = "tcx_ingress",
|
[BPF_TCX_INGRESS] = "tcx_ingress",
|
||||||
[BPF_TCX_EGRESS] = "tcx_egress",
|
[BPF_TCX_EGRESS] = "tcx_egress",
|
||||||
|
[BPF_TRACE_UPROBE_MULTI] = "trace_uprobe_multi",
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char * const link_type_name[] = {
|
static const char * const link_type_name[] = {
|
||||||
@@ -135,6 +136,7 @@ static const char * const link_type_name[] = {
|
|||||||
[BPF_LINK_TYPE_STRUCT_OPS] = "struct_ops",
|
[BPF_LINK_TYPE_STRUCT_OPS] = "struct_ops",
|
||||||
[BPF_LINK_TYPE_NETFILTER] = "netfilter",
|
[BPF_LINK_TYPE_NETFILTER] = "netfilter",
|
||||||
[BPF_LINK_TYPE_TCX] = "tcx",
|
[BPF_LINK_TYPE_TCX] = "tcx",
|
||||||
|
[BPF_LINK_TYPE_UPROBE_MULTI] = "uprobe_multi",
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char * const map_type_name[] = {
|
static const char * const map_type_name[] = {
|
||||||
|
|||||||
Reference in New Issue
Block a user