aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorHal Rosenstock <[email protected]>2015-12-29 05:43:43 -0500
committerDoug Ledford <[email protected]>2016-01-19 15:26:20 -0500
commit6e2a51a0f7c89a22169f366d23d5f213b7b7edaf (patch)
treeb6966c37251e92f14d2bf5a9a124acdbbb35e073 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentb6aeb980f1e143f3237365710290b199e9363eeb (diff)
IB/core: sysfs.c: Fix PerfMgt ClassPortInfo handling
Port number is not part of ClassPortInfo attribute but is still needed as a parameter when invoking process_mad. To properly handle this attribute, port_num is added as a parameter to get_counter_table and get_perf_mad was changed not to store port_num in the attribute itself when it's querying the ClassPortInfo attribute. This handles issue pointed out by Matan Barak <[email protected]> Fixes: 145d9c541032 ('IB/core: Display extended counter set if available') Signed-off-by: Hal Rosenstock <[email protected]> Acked-by: Matan Barak <[email protected]> Acked-by: Ira Weiny <[email protected]> Reviewed-by: Christoph Lameter <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions