aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorPetr Machata <[email protected]>2018-05-24 16:27:16 +0200
committerDavid S. Miller <[email protected]>2018-05-24 22:26:19 -0400
commitd5ea2bfc806a92bdeeed9a16e6dddfe44ebc37ec (patch)
treec706bb13409b86687687c5dcff5424efcba4fb9d /tools/perf/scripts/python/syscall-counts.py
parent74ed089d48a483374656ce7e4f006d758a3a6228 (diff)
selftests: forwarding: mirror_gre_lib: Extract generic functions
For non-GRE mirroring tests, a functions along the lines of do_test_span_gre_dir_ips() and test_span_gre_dir_ips() are necessary, but such that they don't assume tunnels are involved. Extract the code from mirror_gre_lib.sh to mirror_lib.sh and convert to just use a given device without assuming it's named "h3-$tundev". Convert the two above-mentioned functions to wrappers that pass along the correct device name. Add test_span_dir() and fail_test_span_dir() to round up the API for use by following patches. Signed-off-by: Petr Machata <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions