diff options
author | 2024-03-03 07:01:42 -0700 | |
---|---|---|
committer | 2024-03-06 08:59:53 -0800 | |
commit | 176df894d7974166c65d0cce3b3b019678f9e698 (patch) | |
tree | 0974ddbd3a00c500268df57aa16a702717fea92e /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | md: add a mddev_add_trace_msg helper (diff) | |
download | wireguard-linux-176df894d7974166c65d0cce3b3b019678f9e698.tar.xz wireguard-linux-176df894d7974166c65d0cce3b3b019678f9e698.zip |
md: add a mddev_is_dm helper
Add a helper to check for a DM-mapped MD device instead of using
the obfuscated ->gendisk or ->queue NULL checks.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed--by: Song Liu <song@kernel.org>
Tested-by: Song Liu <song@kernel.org>
Signed-off-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20240303140150.5435-4-hch@lst.de
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions