有効なデータがない場合は、ライブトレースとブロックを提供するため、trace_pipeのバッファサイズを設定する必要はありません。もっと(https://www.kernel.org/doc/Documentation/trace/ftrace.txt)で読む
:
trace_pipe:
The output is the same as the "trace" file but this
file is meant to be streamed with live tracing.
Reads from this file will block until new data is
retrieved. Unlike the "trace" file, this file is a
consumer. This means reading from this file causes
sequential reads to display more current data. Once
data is read from this file, it is consumed, and
will not be read again with a sequential read. The
"trace" file is static, and if the tracer is not
adding more data, it will display the same
information every time it is read.
ご回答をお寄せいただきありがとうございますしかし、あなたは正しく私の質問を理解していない可能性があります。私は再びそれを明確にしましょう。私が疑問に思うのは、timestamp、t1でtrace_pipeからデータを読み始めると、ft1ログのみをt1時間から、またはt1-K時間(Kは定数)から得ます。 –
あなたが説明したことは、トレースにも当てはまります。 trace_pipeでは使用できません。 – rk1825