Skip to content

Commit

Permalink
bug fix for exit read
Browse files Browse the repository at this point in the history
  • Loading branch information
SeeFlowerX committed Jan 6, 2024
1 parent c5365d0 commit b200d2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions user/config/config_syscall_aarch64.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit b200d2d

Please sign in to comment.