diff options
| author | Paul Buetow <paul@buetow.org> | 2024-02-10 23:35:37 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-02-10 23:35:37 +0200 |
| commit | b9762202d123160c9a64b804b72e018f61fddd1d (patch) | |
| tree | 56e2834fc3b2c801660d6c75ca62fea4921ecd63 /main.go | |
| parent | f70036a89d1ee5b000ad6d97031bb37f50dae778 (diff) | |
add debugfs.TracepointsWithF
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -11,6 +11,7 @@ import ( "runtime" "sync" + "ioriotng/internal/debugfs" "ioriotng/internal/tracepoints" bpf "github.com/aquasecurity/libbpfgo" @@ -63,6 +64,9 @@ func resizeMap(module *bpf.Module, name string, size uint32) error { } func main() { + // To consider for implementation! + log.Println("Tracepoints with FD", debugfs.TracepointsWithFd()) + bpfModule, err := bpf.NewModuleFromFile("main.bpf.o") if err != nil { log.Fatal(err) |
