[PATCH] Enable DTrace support on FreeBSD for dynamically linked RTS

Hi, I've played around a little bit and came up with a little proof-of-concept patch to enable DTrace support in FreeBSD. I've only managed to get it to work for the dynamically linked RTS. It would be great if someone could take a look at this so this can get possibly merged. :) Kind regards, raichoo

raichoo via ghc-devs
Hi,
I've played around a little bit and came up with a little proof-of-concept patch to enable DTrace support in FreeBSD. I've only managed to get it to work for the dynamically linked RTS. It would be great if someone could take a look at this so this can get possibly merged. :)
Do you have a git branch? If not, what release did you produce this patch against? If so perhaps a pointer to it would be helpful. I tried applying it to master but it was an explosion of conflicts. Cheers, - Ben

Hi Ben,
I've just forked GHC on github, you can find the patch here:
https://github.com/raichoo/ghc/commit/ebdec3f83fc25d75aec91ebedd1bd70f9c6f27...
I hope this is more helpful.
Kind regards,
raichoo
On Tue, Sep 19, 2017 at 5:25 PM, Ben Gamari
raichoo via ghc-devs
writes: Hi,
I've played around a little bit and came up with a little proof-of-concept patch to enable DTrace support in FreeBSD. I've only managed to get it to work for the dynamically linked RTS. It would be great if someone could take a look at this so this can get possibly merged. :)
Do you have a git branch? If not, what release did you produce this patch against? If so perhaps a pointer to it would be helpful. I tried applying it to master but it was an explosion of conflicts.
Cheers,
- Ben

raichoo
Hi Ben,
I've just forked GHC on github, you can find the patch here:
https://github.com/raichoo/ghc/commit/ebdec3f83fc25d75aec91ebedd1bd70f9c6f27...
I hope this is more helpful.
I've opened https://phabricator.haskell.org/D3994 with the patch and will review in just a moment. Cheers, - Ben
participants (2)
-
Ben Gamari
-
raichoo