Created
July 2, 2019 16:53
-
-
Save jimblandy/45c4beaefb360b29baa8f719cf690ca5 to your computer and use it in GitHub Desktop.
Script for figuring out what (interesting) system calls Emacs is doing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
strace -p "$(pgrep emacs)" \ | |
-e '!pselect6,recvmsg,poll,writev,rt_sigprocmask,rt_sigreturn,read,write,timerfd_settime' \ | |
-e 'signal=!SIGIO' | |
# -e '!pselect6,rt_sigprocmask,rt_sigreturn,timerfd_settime' \ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment