You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/proc/foo is associated with the kernel (all files one level under /proc). On an fresh docker container, with no userland processes running, find /proc -maxdepth 2 -name foo will return nothing for the second level, but doing a sleep 100& followed by cat /proc/$(pgrep sleep)/foo will show you the details about foo associated with the process of PID $(pgrep sleep).
I believe I assumed the issue to only target /proc/<pid>/interrupts, rather than /proc/interrupts too, my bad. We do support the former, but not the latter, as @SuperQ pointed out above. I'll patch this up. :)
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 intop.path()
to get the path to theinterrupts
fileprocfs/proc_interrupts.go
Line 45 in bb7727a
p.path()
prepends a pid to the pathprocfs/proc.go
Line 288 in bb7727a
/proc/<pid>/interrupts
does not exist. There is only/proc/interrupts
.The text was updated successfully, but these errors were encountered: