aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorVeaceslav Falico <[email protected]>2013-09-27 16:12:00 +0200
committerDavid S. Miller <[email protected]>2013-09-28 15:28:02 -0700
commit19177e7d554eba7e73d5eadc2c742d602bbec5ae (patch)
treec32c824189cc1efa4a90ee771d65f0043f05b303 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent3e36bb75ce32d0c14a736ca48480fe964491c7fc (diff)
bonding: make __get_active_agg() use bond_for_each_slave()
Currently we're relying on suboptimal construct for (; aggregator; aggregator = __get_next_agg(aggregator)) { where aggregator is an argument of __get_active_agg() which is _always_ the first slave's aggregator - judging by all the callers, comments in the ad_agg_selection_logic() and by logic. Convert it to use the standard bond_for_each_slave(). CC: Jay Vosburgh <[email protected]> CC: Andy Gospodarek <[email protected]> Signed-off-by: Veaceslav Falico <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions