aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorWillem de Bruijn <[email protected]>2023-10-09 10:41:52 -0400
committerDavid S. Miller <[email protected]>2023-10-11 10:39:01 +0100
commit1b4fa28a8b07eb331aeb7fbfc806c0d2e3dc3627 (patch)
tree1f361c52f3a34b061f3640b97e0aee4765f7616f /tools/perf/scripts/python/syscall-counts-by-pid.py
parentb3098d32ed6e6f4c03a95f14426143f1b0af620f (diff)
net: parametrize skb_segment unit test to expand coverage
Expand the test with variants - GSO_TEST_NO_GSO: payload size less than or equal to gso_size - GSO_TEST_FRAGS: payload in both linear and page frags - GSO_TEST_FRAGS_PURE: payload exclusively in page frags - GSO_TEST_GSO_PARTIAL: produce one gso segment of multiple of gso_size, plus optionally one non-gso trailer segment Define a test struct that encodes the input gso skb and output segs. Input in terms of linear and fragment lengths. Output as length of each segment. Signed-off-by: Willem de Bruijn <[email protected]> Reviewed-by: Florian Westphal <[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