Skip to content

tracing/events: block: bring more on a par with blktrace

Steffen Maier linux-block lkml 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v12 patches 7 repliesSuperseded

Changes in v2 from the cover letter

[PATCH v2 1/2]
Use 0 and 1 instead of false and true for __print_symbolic table. Now "trace-cmd report" can decode it. [Steven Rostedt]

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tracing/events: block: track and print if unplug was explicit or scheduleinclude/trace/events/block.h+9 -10 replies
2/2tracing/events: block: dev_t via driver core for plug and unplug eventsinclude/trace/events/block.h+11 -20 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchSteven Rostedt (VMware)
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] tracing/events: block: bring more on a par with blktrace

I had the need to understand I/O request processing in detail. But I also had the need to enrich block traces with other trace events including my own dynamic kprobe events. So I preferred block trace events over blktrace to get everything nicely sorted into one ftrace output. However, I missed device filtering for (un)plug events and also the difference between the two flavors of unplug.

The first two patches bring block trace events closer to their counterpart in blktrace tooling.

The last patch is just an RFC. I still kept it in this patch set because it is inspired by PATCH 2/2.

Changes since v1:
[PATCH v2 1/2]
Use 0 and 1 instead of false and true for __print_symbolic table. Now "trace-cmd report" can decode it. [Steven Rostedt]

Steffen Maier (3):
tracing/events: block: track and print if unplug was explicit or
schedule
tracing/events: block: dev_t via driver core for plug and unplug
events
tracing/events: block: also try to get dev_t via driver core for some
events

 include/trace/events/block.h | 33 ++++++++++++++++++++++++++++-----
 1 file changed, 28 insertions(+), 5 deletions(-)
Signature · 1 line
2.13.5