We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 114767c commit 296d2e6Copy full SHA for 296d2e6
pkg/sensors/base/procfs/procfs.go
@@ -65,9 +65,9 @@ func Enable() (progs []*program.Program, maps []*program.Map) {
65
return progs, maps
66
}
67
68
-// ProcFSWalk walks procfs and reads comm for every pid. This is done to trigger
+// Walk walks procfs and reads comm for every pid. This is done to trigger
69
// a BPF program that pre-populates the cgroup -> nsid map on the BPF side.
70
-func ProcFSWalk() error {
+func Walk() error {
71
dentries, err := os.ReadDir(option.Config.ProcFS)
72
if err != nil {
73
return err
0 commit comments