
{{{ Betty:cbits lelf$ sudo dtrace -i 'demo-
#3625: GHCI doesn't work with dtrace on OS X -------------------------------------+------------------------------------- Reporter: rl | Owner: Type: bug | Status: closed Priority: low | Milestone: 7.10.1 Component: GHCi | Version: 6.10.4 Resolution: worksforme | Keywords: Operating System: MacOS X | Architecture: Unknown/Multiple Type of failure: | Difficulty: Unknown None/Unknown | Blocked By: Test Case: | Related Tickets: Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Changes (by thomie): * status: new => closed * resolution: => worksforme Comment: Replying to [comment:11 lelf]: 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
Please re-open if there's still a problem with dtrace on OS X. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/3625#comment:13 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler