I am trying to use strace to sniff unix domain socket.
I run a process having multiple file descriptors, some file descriptors would call recvmsg system call. But I just want to sniff only specific file descriptor like 1 and run command below:
strace -e trace=recvmsg -p 27366 -e recvmsg=1 But strace showed this error. How can I solve this problem?
strace: invalid system call 'recvmsg=1'