]> git.proxmox.com Git - mirror_qemu.git/commit - linux-user/strace.c
linux-user: add tkill(), tgkill() and rt_sigqueueinfo() strace
authorMiloš Stojanović <Milos.Stojanovic@rt-rk.com>
Mon, 15 May 2017 14:59:42 +0000 (16:59 +0200)
committerRiku Voipio <riku.voipio@linaro.org>
Mon, 29 May 2017 11:56:08 +0000 (14:56 +0300)
commit5162264e438cf5efcb101bc8030e5f76feb58635
tree3a5d500d931187037a47c8f5f1bc5f200080c0cc
parent65424cc45696768442c684c1202d21b7f73f1156
linux-user: add tkill(), tgkill() and rt_sigqueueinfo() strace

Improve strace support for syscall tkill(), tgkill() and rt_sigqueueinfo()
by implementing print functions that match arguments types of the system
calls and add them to the corresponding starce.list entry.

tkill:
Prior to this commit, typical strace output used to look like this:
4886 tkill(4886,50,0,4832615904,0,-9151031864016699136) = 0
After this commit, it looks like this:
4886 tkill(4886,50) = 0

tgkill:
Prior to this commit, typical strace output used to look like this:
4890 tgkill(4890,4890,50,8,4832630528,4832615904) = 0
After this commit, it looks like this:
4890 tgkill(4890,4890,50) = 0

rt_sigqueueinfo:
Prior to this commit, typical strace output used to look like this:
8307 rt_sigqueueinfo(8307,50,1996483164,0,0,50) = 0
After this commit, it looks like this:
8307 rt_sigqueueinfo(8307,50,0x00000040007ff6b0) = 0

Signed-off-by: Miloš Stojanović <Milos.Stojanovic@rt-rk.com>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/strace.c
linux-user/strace.list