RFC virtio-fs: Add some tracepoints
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | virtio-fs: add ftrace eventsinclude/ | +195 | 2 replies | |
| 2/2 | virtio-fs: add tracepointsfs/ | +21 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Virtio-fs] [PATCH 0/2][RFC] virtio-fs: Add some tracepoints
From: Masayoshi Mizuma <[email protected]>
This patch series introduce some tracepoints. It will be useful to debug the I/O request flow.
New trace events:
- virtiofs_request_dispatched
- virtiofs_request_done
- virtiofs_hiprio_request_dispatched
- virtiofs_hiprio_request_done
Above trace events is added to the following functions as the tracepoints:
- virtio_fs_enqueue_req
- virtio_fs_requests_done_work
- virtio_fs_hiprio_dispatch_work
- virtio_fs_hiprio_done_work
Example of the trace record:
cat-1420 [002] .... 34.687462: virtiofs_request_dispatched: opcode
FUSE_READ unique 0x1a nodeid 0x2 in.len 80 flags ISREPLY|WAITING|SENT
notify 1
kworker/4:1-67 [004] .... 34.687531: virtiofs_request_done: opcode FUSE_READ
unique 0x1a nodeid 0x2 in.len 80 flags ISREPLY|WAITINGMasayoshi Mizuma (2):
add ftrace events
add tracepoints
fs/fuse/virtio_fs.c | 21 ++++ include/trace/events/virtiofs.h | 195 ++++++++++++++++++++++++++++++++ 2 files changed, 216 insertions(+) create mode 100644 include/trace/events/virtiofs.h
Signature · 1 line
2.18.1