【发布时间】:2019-05-03 16:31:25
【问题描述】:
有人知道 cygwin 中strace 的输出格式吗?在我看来,通过对选项的实验,前两列在某种程度上是自进程开始时间以来的微秒,但我找不到关于它们是什么或应该如何使用它们的任何解释。我认为它们是第一个数字是完成系统调用的 usec,第二个是进程启动后的 usec。有人知道吗?
excerpt from strace -f ls
35 33002 [main] ls 2364 void: 0x0 = signal (3, 0x1)
38 33040 [main] ls 2364 fhandler_base::close_with_arch: line 1180: /dev/pty1<0x180335700> usecount + -1 = 1
38 33078 [main] ls 2364 fhandler_base::close_with_arch: not closing archetype
41 33119 [main] ls 2364 init_cygheap::close_ctty: closing cygheap->ctty 0x180335700
39 33158 [main] ls 2364 fhandler_base::close_with_arch: closing passed in archetype 0x0, usecount 0
38 33196 [main] ls 2364 fhandler_pty_slave::cleanup: /dev/pty1 closed, usecount 0
39 33235 [main] ls 2364 fhandler_pty_slave::close: closing last open /dev/pty1 handle
121 33356 [main] ls 2364 fhandler_console::free_console: freed console, res 1
【问题讨论】: