Skip to content

Instantly share code, notes, and snippets.

@ethercflow
Last active July 16, 2019 13:15
Show Gist options
  • Select an option

  • Save ethercflow/3e2a9e4a1c5a7a5c4b8294a02a55955f to your computer and use it in GitHub Desktop.

Select an option

Save ethercflow/3e2a9e4a1c5a7a5c4b8294a02a55955f to your computer and use it in GitHub Desktop.
export PATH=$PATH:/opt/linuxki
cd /dev/shm
runki -M -X -G ${tgid} -R -e all -d 120 # (default 20s)
kiall -r
cd local/xxx/
vim kiwait.xxx.txt # 分析等待事件
perf stat -e minor-faults
perf record -e minor-faults -c 1 -ag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment