diff options
author | Erez Alfasi <[email protected]> | 2019-10-16 09:23:06 +0300 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2019-10-22 15:22:47 -0300 |
commit | fb91069088faf30c6e8aeeed900326c040623e2d (patch) | |
tree | f9a41a9f6f6a162e343f409aa58018b58d4020ad /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | a3de94e3d61ec6e6c57ee066ec4d28ebc260dafa (diff) |
RDMA/nldev: Allow different fill function per resource
So far res_get_common_{dumpit, doit} was using the default resource fill
function which was defined as part of the nldev_fill_res_entry
fill_entries.
Add a fill function pointer as an argument allows us to use different fill
function in case we want to dump different values then 'rdma resource'
flow do, but still use the same existing general resources dumping flow.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Erez Alfasi <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions