aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMinwoo Im <[email protected]>2021-01-13 23:36:27 +0900
committerChristoph Hellwig <[email protected]>2021-02-02 10:26:11 +0100
commitfc97e942d90c2103755f2fcd9a068a4ee7dfc1bf (patch)
treeebb0c547d9745dd98665a89a5f4b3e0b5e81e0e1 /tools/perf/scripts/python/stackcollapse.py
parent0dc9edaf80ea3c48231d94cd482355699d453888 (diff)
nvme: refactor ns->ctrl by request
Just for current code in nvme_cleanup_cmd(), we don't have to get namespace instance, but we need controller instance. Controller instance can be retrieved by namespace instance, but it can be directly accessed by nvme_request instance from request. ctrl = nvme_req(req)->ctrl; We don't have to go around namespace instance from request instance through gendisk. Signed-off-by: Minwoo Im <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions