Add option to include child processes in observation

This commit is contained in:
Ingo Oppermann
2025-06-25 16:53:27 +02:00
parent fba9a75d8a
commit d6ce3a5891
4 changed files with 18 additions and 12 deletions

View File

@@ -113,7 +113,7 @@ type Util interface {
GPU() ([]GPUInfo, error)
// Process returns a process observer for a process with the given pid.
Process(pid int32) (Process, error)
Process(pid int32, children bool) (Process, error)
}
type util struct {