summaryrefslogtreecommitdiff
path: root/internal/ior.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/ior.go')
-rw-r--r--internal/ior.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/ior.go b/internal/ior.go
index 68a6afb..7bf96bc 100644
--- a/internal/ior.go
+++ b/internal/ior.go
@@ -21,7 +21,7 @@ import (
// TODO: Integration tests, write C or Cgo code to simulate I/O?
func attachTracepoints(flags flags.Flags, bpfModule *bpf.Module) error {
for _, name := range tracepoints.List {
- if !flags.AttachTracepoint(name) {
+ if !flags.ShouldIAttachTracepoint(name) {
continue
}
fmt.Println("Attaching tracepoint", name)