ThreadScope ã¯ãGHC ãçæãã event log ãå¯è¦åãã¼ã«ã§ãã以åã試è¡é¯èª¤ã㦠Mac ã«ã¤ã³ã¹ãã¼ã«ããã¨ãã®ã¡ã¢ãåºã¦æ¥ã¾ããã並å並è¡æ¬ãåºçãããä»ãéè¦ãé«ããããªæ°ãããã®ã§ãå ¬éãã¦ããã¾ãã
- ä½è : Simon Marlow
- åºç社/ã¡ã¼ã«ã¼: O'Reilly Media
- çºå£²æ¥: 2013/07/12
- ã¡ãã£ã¢: Kindleç
- ãã®ååãå«ãããã° (2件) ãè¦ã
åã®ç°å¢ã¯ãMountain Lion + Haskell Platform 2013.2.0.0 (32bit)ã§ãã以åã¤ã³ã¹ãã¼ã«ããã¨ãã¯ãããããä¸ä¸ä»£åã ã£ãã¨æãã¾ãã
Mac ç¨ã®ããã±ã¼ã¸ã·ã¹ãã ã¯ãMacPorts ã使ã£ã¦ãã¾ããhomebew ã§ããï¼ åã使ãããã½ããã«å¯¾å¿ãã¦ãªãã®ã§ã使ã£ã¦ã¾ãããåæã«ä½¿ã£ã¦ãåé¡ã¯èµ·ããªãã¯ããªã®ã§ãæ°ã«ãã MacPorts ã使ãããhomebew ã§ã¤ã³ã¹ãã¼ã«ããæ¹æ³ãèªåã§æ¢ãã¦ä¸ããã
ã¤ã³ã¹ãã¼ã«ã®æé ã¯ã以ä¸ã®éãã§ãã
% sudo port install gtk2 +universal % cabal install gtk2hs-buildtools % cabal install ghc-events % cabal install threadscope --extra-include=/usr/include --extra-lib-dirs=/usr/lib --extra-include=/opt/local/include --extra-lib-dirs=/opt/local/lib
32bit ã® GHC ã使ã£ã¦ããã®ã§ãMacPorts ã«ã¯ +universal ãæå®ããå¿ è¦ãããã¾ãã64bit ã® GHC ã使ã£ã¦ãã人ã¯ã(MacOS ã®ãã¼ã¸ã§ã³ã«ãããã¾ãã)ãã¶ãä¸è¦ã§ãããã+universal ãä»ããã¨ãã¤ã³ã¹ãã¼ã«ã«ãããæéããããã®ã§æ³¨æãã¦ä¸ããã
MacPorts ã§ã¤ã³ã¹ãã¼ã«ããã©ã¤ãã©ãªãªã©ã¯ /opt/local ã«å ¥ã£ã¦ãã¾ããThreadScpe ãã¤ã³ã¹ãã¼ã«éã«ã¯ããã®ãã¹ãæå®ããå¿ è¦ãããã¾ããMacPorts ã§å ¥ãã iconv ã§ã¯ãªããMac ã«å ¥ã£ã¦ãã iconv ãåªå ããããã« /usr/lib ãªã©ãå ã«æå®ããªããã°ãªãã¾ããã
ãã㧠ThreadScope ãèµ·åã§ãã¾ãã
% rehash % threadscope
æåã®èµ·åã«ã¯ãæéããããããããã¾ãããæ°é·ã«å¾ ã£ã¦ä¸ããã