Is it possible to extend the Instruments profiler on Mac OS X for a new language?

前提是你 提交于 2019-12-11 05:06:42

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/13778669/is-it-possible-to-extend-the-instruments-profiler-on-mac-os-x-for-a-new-language

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!