Skip to content

Commit 296d2e6

Browse files
FIXUP procfs
1 parent 114767c commit 296d2e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/sensors/base/procfs/procfs.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ func Enable() (progs []*program.Program, maps []*program.Map) {
6565
return progs, maps
6666
}
6767

68-
// ProcFSWalk walks procfs and reads comm for every pid. This is done to trigger
68+
// Walk walks procfs and reads comm for every pid. This is done to trigger
6969
// a BPF program that pre-populates the cgroup -> nsid map on the BPF side.
70-
func ProcFSWalk() error {
70+
func Walk() error {
7171
dentries, err := os.ReadDir(option.Config.ProcFS)
7272
if err != nil {
7373
return err

0 commit comments

Comments
 (0)