nbd: add tracepoints for send/receive timing
This adds four tracepoints to nbd, enabling separate tracing of payload and header sending/receipt. In the send path for headers that have already been sent, we also explicitly initialize the handle so it can be referenced by the later tracepoint. Signed-off-by: NAndrew Hall <hall@fb.com> Signed-off-by: NMatt Mullins <mmullins@fb.com> Reviewed-by: NJosef Bacik <josef@toxicpanda.com> Signed-off-by: NAlexei Starovoitov <ast@kernel.org>
Showing
想要评论请 注册 或 登录