aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorIra Weiny <[email protected]>2015-06-06 14:38:23 -0400
committerDoug Ledford <[email protected]>2015-06-12 14:49:16 -0400
commit83a1d2288952db16150a09f3d40284ffc11fc063 (patch)
tree9a2ad749c9cfd476585a5caa9a40034cb3e2855e /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parentd94bd2667a78ecbc64296588a8272e97a61dbafd (diff)
IB/mad cleanup: Generalize processing of MAD data
ib_find_send_mad only needs access to the MAD header not the full IB MAD. Change the local variable to ib_mad_hdr and change the corresponding cast. This allows for clean usage of this function with both IB and OPA MADs because OPA MADs carry the same header as IB MADs. Signed-off-by: Ira Weiny <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions