aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorPetr Machata <[email protected]>2021-01-20 16:44:11 +0100
committerJakub Kicinski <[email protected]>2021-01-20 21:00:24 -0800
commit44551bff290d11038816ae5da963d2de12e16c31 (patch)
tree18ac0e66fb942dfa92919aac54f2f9a15065d3b8 /tools/perf/scripts/python/check-perf-trace.py
parent60f5ad5e19c0996df7ca4ce7ef5fd4596cb13f01 (diff)
nexthop: Use a dedicated policy for nh_valid_dump_req()
This function uses the global nexthop policy, but only accepts four particular attributes. Create a new policy that only includes the four supported attributes, and use it. Convert the loop to a series of ifs. Signed-off-by: Petr Machata <[email protected]> Reviewed-by: David Ahern <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions