From: Richard Henderson <richard.henderson@linaro.org>
To: Ilya Leoshkevich <iii@linux.ibm.com>, Laurent Vivier <laurent@vivier.eu>
Cc: qemu-devel@nongnu.org
Subject: Re: [PATCH v2] linux-user: Trace rt_sigprocmask's sigsets
Date: Tue, 22 Oct 2024 10:53:55 -0700 [thread overview]
Message-ID: <2af51996-ffdd-42b6-9f9c-751448e4287c@linaro.org> (raw)
In-Reply-To: <20241022102726.18520-1-iii@linux.ibm.com>
On 10/22/24 03:26, Ilya Leoshkevich wrote:
> 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>
> ---
> v1: https://lore.kernel.org/qemu-devel/20241017091449.443799-1-iii@linux.ibm.com/
> v1 -> v2: Do not split operands across syscall completion (Richard).
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
and queued.
r~
prev parent reply other threads:[~2024-10-22 17:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-22 10:26 [PATCH v2] linux-user: Trace rt_sigprocmask's sigsets Ilya Leoshkevich
2024-10-22 17:53 ` Richard Henderson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2af51996-ffdd-42b6-9f9c-751448e4287c@linaro.org \
--to=richard.henderson@linaro.org \
--cc=iii@linux.ibm.com \
--cc=laurent@vivier.eu \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).