Skip to content

Commit

Permalink
Fix: perf event close might crash prog
Browse files Browse the repository at this point in the history
Signed-off-by: Viet Anh Duong <anh.duong@kyber.network>
  • Loading branch information
vietanhduong committed Dec 30, 2023
1 parent 06ac034 commit 299da79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion perf_event.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ type PerfEventOptions struct {

type perfEventEntry struct {
perfFd int
rawlink link.Link
rawlink *link.RawLink
}

type PerfEvent struct {
Expand Down

0 comments on commit 299da79

Please sign in to comment.