On Tue, Dec 11, 2018 at 10:31:37PM -0500, Ted Unangst wrote: > I have some trace files that are gzipped to save space. (They compress really > well.) It would be convenient if I could simply zcat them into kdump for > inspection. FWIW I've always used `kdump -f/dev/stdin' for that.
> This patch allows -f - to read from stdin. (Curiously, kdump always reads from > stdin, but uses freopen on the trace file.) OK kn > Unsure about man page. I think many utilities just generally assume the user > knows - means stdin/out? Without explicitly mentioning it, one might assume that ktrace(1) behaves the same, which is not the case as `ktrace -f - echo foo' will write to the file called "-". I think that should be either clarified or implemented in ktrace, too, but no objections for now.