diff options
| author | Keith Busch <[email protected]> | 2018-06-29 16:50:03 -0600 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2018-07-24 15:55:48 +0200 |
| commit | 6268953e8977a23ca7512a2921e82a5d9252ec01 (patch) | |
| tree | 069eabf096b12e5d72844ebe9a6c9911d3eefdda /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | b80a55e246a1b817cb254d79d077f364a2419578 (diff) | |
nvme: add disk name to trace events
This will print the disk name to the nvme event trace for io requests so
a user can better distinguish traffic to different disks. This can be used
to create disk based filters. For example, to see only nvme0n2 traffic:
echo "disk == \"nvme0n2\"" > /sys/kernel/debug/tracing/events/nvme/filter
Signed-off-by: Keith Busch <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
[hch: turned __assign_disk_name into an inline function]
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions