[GHC] #3625: GHCI doesn't work with dtrace on OS X

GHC ghc-devs at haskell.org
Wed Dec 4 13:15:00 UTC 2013


#3625: GHCI doesn't work with dtrace on OS X
---------------------------------+------------------------------------
        Reporter:  rl            |            Owner:
            Type:  bug           |           Status:  new
        Priority:  low           |        Milestone:  7.6.2
       Component:  GHCi          |          Version:  6.10.4
      Resolution:                |         Keywords:
Operating System:  MacOS X       |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown  |       Difficulty:  Unknown
       Test Case:                |       Blocked By:
        Blocking:                |  Related Tickets:
---------------------------------+------------------------------------

Comment (by lelf):

 {{{
 Betty:cbits lelf$ sudo dtrace -i 'demo-
 trace{printf("%s",copyinstr(arg0))}'
 dtrace: description 'demo-trace' matched 1 probe
 CPU     ID                    FUNCTION:NAME
   0   2547            demo_trace:demo-trace rzzzz
   1   2547            demo_trace:demo-trace foo
   0   2547            demo_trace:demo-trace bar
   0   2547            demo_trace:demo-trace bzzzzz
 }}}

 Seems to work

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/3625#comment:11>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list