diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-01 23:19:22 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-01 23:19:22 +0200 |
| commit | 9c65e3a626f9685d9763ebe02b90c7e5169b5281 (patch) | |
| tree | cc391c5a87219aae2d90a904e442318413741d89 /internal | |
| parent | 9391ec7fb056b1006cdf36f21e3e37c0fa8071bb (diff) | |
ior: remove attachTracepoints wrapper (task 315)
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/ior.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/internal/ior.go b/internal/ior.go index 7642b21..0243ae7 100644 --- a/internal/ior.go +++ b/internal/ior.go @@ -77,10 +77,6 @@ func (m libbpfTracepointModule) GetProgram(progName string) (probemanager.Progra return libbpfTracepointProgram{prog: prog}, nil } -func attachTracepoints(bpfModule *bpf.Module) error { - return attachTracepointsWith(libbpfTracepointModule{module: bpfModule}, flags.Get().ShouldIAttachTracepoint, tracepoints.List, true) -} - func attachTracepointsWith(module tracepointModule, shouldAttach func(string) bool, tracepointNames []string, verbose bool) error { logln := func(...any) {} logf := func(string, ...any) {} |
