From b200d2d4b3abf5212cb26f5423e5036d8219b4c9 Mon Sep 17 00:00:00 2001 From: sfx Date: Sat, 6 Jan 2024 07:37:13 -0800 Subject: [PATCH] bug fix for exit read --- user/config/config_syscall_aarch64.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/user/config/config_syscall_aarch64.go b/user/config/config_syscall_aarch64.go index 1cd5efe..52d64ed 100644 --- a/user/config/config_syscall_aarch64.go +++ b/user/config/config_syscall_aarch64.go @@ -200,9 +200,9 @@ func RegisterUserDefine(name string, point_args []*PointArg, exit_read bool) { b_p := point_arg.Clone() b_p.SetGroupType(EBPF_SYS_EXIT) if exit_read { - a_p.SetPointType(EBPF_SYS_ALL) + b_p.SetPointType(EBPF_SYS_ALL) } else { - a_p.SetPointType(EBPF_SYS_EXIT) + b_p.SetPointType(EBPF_SYS_EXIT) } b_point_args = append(b_point_args, b_p) }