aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorLorenz Bauer <[email protected]>2021-03-03 10:18:12 +0000
committerAlexei Starovoitov <[email protected]>2021-03-04 19:11:29 -0800
commit607b9cc92bd7208338d714a22b8082fe83bcb177 (patch)
tree0861dda11c1d0f0323f17919ea0c3a0c895b7075 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent2374e0f1c7068d60b71e7ab50eff52c48be697e2 (diff)
bpf: Consolidate shared test timing code
Share the timing / signal interruption logic between different implementations of PROG_TEST_RUN. There is a change in behaviour as well. We check the loop exit condition before checking for pending signals. This resolves an edge case where a signal arrives during the last iteration. Instead of aborting with EINTR we return the successful result to user space. Signed-off-by: Lorenz Bauer <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions