... or, once we have the filtering engine upgraded, to use
or-connected filters:
# [mockup example]
sector >= 20000 && sector <= 30000
||
sector >= 50000 && sector <= 60000
Note that users dont have to care about these expressions - they
could get auto-added when tracing is enabled for a partition.
Such type of more complex compound filters are possible already -
what we dont have is comparison operators (right now we only have ==
and !=), nor built-in convenience support for dev_t.
Another variant would be:
dev == sda1
||
dev == sda3
type of compound filters - achieving the same goal as the sector
based filter.
yes - i'm just pointing out the limitation. It's no big issue
currently - most of the actual tracing happens on specific
devices/partitions. (Perhaps 'whole system blk tracing' is a common
pattern though.)
I'm just pointing out that this is a beauty wart, and that it will
be mostly addressed when we go to TRACE_EVENT() based tracepoints in
blktrace :-)
Ingo
--