mirror of
https://github.com/torvalds/linux
synced 2024-07-21 10:41:44 +00: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:
parent
2ca178f02b
commit
7b94965429
|
@ -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[] = {
|
||||
|
|
Loading…
Reference in a new issue