diff options
author | Ilya Leoshkevich <iii@linux.ibm.com> | 2024-10-22 12:26:16 +0200 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2024-10-22 13:45:03 -0700 |
commit | f769eb00b5d7475eded925a6b8b93f45d6bc05ea (patch) | |
tree | 894a5a46cf806fb050f306ff915e529fcae219ab /include/hw/qdev-core.h | |
parent | 8704132805cf7a3259d1c5a073b3c2b92afa2616 (diff) | |
download | qemu-f769eb00b5d7475eded925a6b8b93f45d6bc05ea.zip qemu-f769eb00b5d7475eded925a6b8b93f45d6bc05ea.tar.gz qemu-f769eb00b5d7475eded925a6b8b93f45d6bc05ea.tar.bz2 |
linux-user: Trace rt_sigprocmask's sigsets
Add a function for formatting target sigsets. It can be useful for
other syscalls in the future, so put it into the beginning of strace.c.
For simplicity, do not implement the strace's ~[] output syntax.
Add a rt_sigprocmask return handler.
Example outputs:
753914 rt_sigprocmask(SIG_BLOCK,[SIGCHLD SIGTSTP SIGTTIN SIGTTOU],0x00007f80fddfe380,8) = 0 (oldset=[SIGTTOU])
753914 rt_sigprocmask(SIG_SETMASK,[SIGCHLD],NULL,8) = 0
753914 rt_sigprocmask(SIG_BLOCK,NULL,0x00007f80fddff3c0,8) = 0 (oldset=[])
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-ID: <20241022102726.18520-1-iii@linux.ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/hw/qdev-core.h')
0 files changed, 0 insertions, 0 deletions