summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorSahil Siddiq <icegambit91@gmail.com>2023-03-20 11:10:56 +0530
committerDmitry V. Levin <ldv@strace.io>2023-04-03 19:13:29 +0000
commitac1d1e25d8d45b8e74ec4cde0f06a7b1df621304 (patch)
tree0b2bffbdbdc2e14ed31c4aa8f8a77e6fb3ebcaca /NEWS
parentd3b97fce7229fa8db7a87e03fcd445b8f97fe743 (diff)
downloadstrace-ac1d1e25d8d45b8e74ec4cde0f06a7b1df621304.tar.gz
Introduce -l/--syscall-limit options
Add new options to detach strace after capturing the specified number of syscalls. * src/defs.h (syscall_limit): New variable declaration. * src/strace.c (syscall_limit): New variable. (usage): Mention new options. (init): Handle them. (next_event): Break the event loop when syscall_limit == 0. * src/syscall.c (syscall_exiting_trace): Update syscall_limit. Signed-off-by: Sahil Siddiq <icegambit91@gmail.com> Resolves: https://github.com/strace/strace/issues/179
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions