diff options
author | Nicolin Chen <nicolinc@nvidia.com> | 2024-11-05 23:04:24 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2024-11-12 18:46:18 +0300 |
commit | fd6b853f50c868b03797e7ae87f1ed554aea01e4 (patch) | |
tree | 6e141a8428d52ccc88aa1a81a58083cdf869805a /tools/perf/scripts/python/stackcollapse.py | |
parent | 13a750180fc86d41695c8f64d8892412482a401d (diff) | |
download | linux-fd6b853f50c868b03797e7ae87f1ed554aea01e4.tar.xz |
iommufd/selftest: Add container_of helpers
Use these inline helpers to shorten those container_of lines.
Note that one of them goes back and forth between iommu_domain and
mock_iommu_domain, which isn't necessary. So drop its container_of.
Link: https://patch.msgid.link/r/518ec64dae2e814eb29fd9f170f58a3aad56c81c.1730836219.git.nicolinc@nvidia.com
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Nicolin Chen <nicolinc@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions