summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorBob Pearson <rpearsonhpe@gmail.com>2020-12-16 17:15:47 -0600
committerJason Gunthorpe <jgg@nvidia.com>2021-01-12 16:35:38 -0400
commit2622aa718a6a774ba302ca002adc62eeab9cdf28 (patch)
tree16e7ec0e228fd0e452c09524f43c5fde4d5cf182 /tools/perf/scripts/python/flamegraph.py
parentb994d49ef4afa28dc335ee2b4b734939c7a1d95f (diff)
downloadlinux-2622aa718a6a774ba302ca002adc62eeab9cdf28.tar.gz
linux-2622aa718a6a774ba302ca002adc62eeab9cdf28.zip
RDMA/rxe: Make pool lookup and alloc APIs type safe
The allocate, lookup index, lookup key and cleanup routines in rxe_pool.c currently are not type safe against relocating the pelem field in the objects. Planned changes to move allocation of objects into rdma-core make addressing this a requirement. Use the elem_offset field in rxe_type_info make these APIs safe against moving the pelem field. Link: https://lore.kernel.org/r/20201216231550.27224-5-rpearson@hpe.com Signed-off-by: Bob Pearson <rpearson@hpe.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions