dtrace ã¨ã¯ Mac OS X Leopard ããå°å ¥ããããããã°ã©ã ãæ¸ãæãããã¨ãªãããã°ã©ã ã®æ å ±ãç£è¦ï¼ãã¬ã¼ã¹ï¼ã§ãã便å©ãã¼ã«ã§ãã 使ãæ¹ ãã¨ãã°ã vim ã¨ããååã®ããã»ã¹ããã·ã¹ãã ã³ã¼ã« stat, open, stat64 ãããã¨ãã«ç¬¬ä¸å¼æ°ï¼ãã¡ã¤ã«åï¼ãç£è¦ããã«ã¯ä»¥ä¸ã®ããã«ãã¾ãã $ sudo dtrace -n "syscall::open:entry, syscall::stat:entry, syscall::stat64:entry / execname == \"vim\" / { trace(copyinstr(arg0)) } " 説æ ã¾ãã -n ã¨ããã®ã¯ãprobeãã®ãnameããæå®ã㦠dtrace ããï¼ã¨ããæå³ã§ãã $ sudo dtrace [-n [[[ provider: ] module: ]
{{#tags}}- {{label}}
{{/tags}}