Skip to content

Commit 8097e46

Browse files
olsajiriAlexei Starovoitov
authored andcommitted
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>
1 parent 686328d commit 8097e46

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tools/lib/bpf/libbpf.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ static const char * const attach_type_name[] = {
120120
[BPF_NETFILTER] = "netfilter",
121121
[BPF_TCX_INGRESS] = "tcx_ingress",
122122
[BPF_TCX_EGRESS] = "tcx_egress",
123+
[BPF_TRACE_UPROBE_MULTI] = "trace_uprobe_multi",
123124
};
124125

125126
static const char * const link_type_name[] = {
@@ -135,6 +136,7 @@ static const char * const link_type_name[] = {
135136
[BPF_LINK_TYPE_STRUCT_OPS] = "struct_ops",
136137
[BPF_LINK_TYPE_NETFILTER] = "netfilter",
137138
[BPF_LINK_TYPE_TCX] = "tcx",
139+
[BPF_LINK_TYPE_UPROBE_MULTI] = "uprobe_multi",
138140
};
139141

140142
static const char * const map_type_name[] = {

0 commit comments

Comments
 (0)