mirror of
https://github.com/netdata/libbpf.git
synced 2026-03-19 15:59:06 +08:00
libbpf: Add kprobe session attach type name to attach_type_name
Adding kprobe session attach type name to attach_type_name, so libbpf_bpf_attach_type_str returns proper string name for BPF_TRACE_KPROBE_SESSION attach type. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20240430112830.1184228-6-jolsa@kernel.org
This commit is contained in:
committed by
Andrii Nakryiko
parent
6c3cf5108e
commit
045a0372ef
@@ -132,6 +132,7 @@ static const char * const attach_type_name[] = {
|
||||
[BPF_TRACE_UPROBE_MULTI] = "trace_uprobe_multi",
|
||||
[BPF_NETKIT_PRIMARY] = "netkit_primary",
|
||||
[BPF_NETKIT_PEER] = "netkit_peer",
|
||||
[BPF_TRACE_KPROBE_SESSION] = "trace_kprobe_session",
|
||||
};
|
||||
|
||||
static const char * const link_type_name[] = {
|
||||
|
||||
Reference in New Issue
Block a user