summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-02-09 01:03:22 +0200
committerPaul Buetow <paul@buetow.org>2024-02-09 01:03:22 +0200
commit1da0b3028eeb4c3ea65f3b51b43dee7cf5a09ebc (patch)
tree9d2ae93834d0f6013251c09646cb03ef61cf4413 /main.go
parentf1d915931ca1e0f5fb4007c9cab59fd460a25c6c (diff)
can dynamically load progs and tracepoints
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 1d1a99c..0f8342a 100644
--- a/main.go
+++ b/main.go
@@ -64,7 +64,7 @@ func main() {
os.Exit(-1)
}
- if err := tracepoints.AttachSyscalls(bpfModule, "enter_openat", "exit_openat"); err != nil {
+ if err := tracepoints.AttachSyscalls(bpfModule); err != nil {
fmt.Fprintf(os.Stderr, err.Error())
os.Exit(-1)
}