diff options
author | Sreekanth Reddy <[email protected]> | 2022-08-04 18:42:17 +0530 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2022-08-22 23:34:05 -0400 |
commit | 125ad1e6b445e8538e50d77d9c82ec811e98895e (patch) | |
tree | 0bdc5cf5c50326cb6803a6689d3a427ec8eb7c48 /tools/perf/scripts/python/stackcollapse.py | |
parent | fc7212fd3100920fea711a80482d967388a4603c (diff) |
scsi: mpi3mr: Add helper functions to retrieve device objects
Add the following helper functions:
- Get the device's sas address by reading corresponding device's Device
page0
- Get the expander object from expander list based on expander's handle
- Get the target device object from target device list based on device's
sas address
- Get the expander device object from expander list based on expanders's
sas address
- Get hba port object from hba port table list based on port's port id
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Himanshu Madhani <[email protected]>
Signed-off-by: Sreekanth Reddy <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions