1

I'd like to use the Instruments profiler on the Mac to profile Haskell code. However, Haskell isn't a supported language by Xcode/Instruments.

Is it possible to extend Instruments to support profiling in a new/unsupported language? What would be involved?

Brad Larsen
  • 995
  • 1
  • 12
  • 20

1 Answers1

3

Instruments is a front-end to DTrace. You can use DTrace hooks with GHC.

Don Stewart
  • 137,316
  • 36
  • 365
  • 468