As it is needed for proper info_len printing on exiting. * bpf.c (print_bpf_obj_info_fn): Change return type to void, add "saved" argument. (struct obj_get_info_saved): New type definition. (print_bpf_map_info, print_bpf_prog_info): Change return type to void, add "saved" argument, do not handle private tcb data allocation and obtainment. (print_bpf_obj_info_addr): Change return type to void, add tcb argument, print the address only on exiting. (print_bpf_obj_info): Change return type to void, add "saved" argument. (BEGIN_BPF_CMD_DECODER(BPF_OBJ_GET_INFO_BY_FD)): Handle private data allocation/saving/restoring, use it for storing/printing info_len field. Co-Authored-by: Dmitry V. Levin <ldv@altlinux.org>
strace - the linux syscall tracer
This is strace -- a diagnostic, debugging and instructional userspace utility with a traditional command-line interface for Linux. It is used to monitor and tamper with interactions between processes and the Linux kernel, which include system calls, signal deliveries, and changes of process state. The operation of strace is made possible by the kernel feature known as ptrace.
strace is released under a Berkeley-style license at the request of Paul Kranenburg; see the file COPYING for details.
See the file NEWS for information on what has changed in recent versions.
Please read the file INSTALL-git for installation instructions.
The user discussion and development of strace take place on the strace mailing list -- everyone is welcome to post bug reports, feature requests, comments and patches to strace-devel@lists.strace.io. The mailing list archives are available at https://lists.strace.io/pipermail/strace-devel/ and other archival sites.
The GIT repository of strace is available at GitHub and GitLab.
The latest binary strace packages are available in many repositories, including OBS, Fedora rawhide, and Sisyphus.