tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ktrace output file not showing up in fstat
On Thu, Feb 05, 2026 at 07:54:30AM +0100, Edgar Fuß wrote:
> Why does that ktrace file not show up? Because it isn't associated with
> a process?
DESCRIPTION
fstat identifies open files. A file is considered open by a process if
it was explicitly opened, is the working directory, root directory,
active pure text, or kernel trace file for that process. [..]
So it sounds like a bug. Even if the original ktrace process is long gone
and child processes have inherited the ktrace via -i, the file should
be listed.
Martin
Home |
Main Index |
Thread Index |
Old Index