It looks like /proc/interrupts support was added in #475 .
But it's unclear how this interface works or if it ever worked.
For example:
Interrupts() calls into p.path() to get the path to the interrupts file
|
data, err := util.ReadFileNoStat(p.path("interrupts")) |
- But
p.path() prepends a pid to the path
|
return p.fs.Path(append([]string{strconv.Itoa(p.PID)}, pa...)...) |
/proc/<pid>/interrupts does not exist. There is only /proc/interrupts.
It looks like
/proc/interruptssupport was added in #475 .But it's unclear how this interface works or if it ever worked.
For example:
Interrupts()calls intop.path()to get the path to theinterruptsfileprocfs/proc_interrupts.go
Line 45 in bb7727a
p.path()prepends a pid to the pathprocfs/proc.go
Line 288 in bb7727a
/proc/<pid>/interruptsdoes not exist. There is only/proc/interrupts.