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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

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

GHC - devs mailing list
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



_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

dtrace.patch (16K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

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

Ben Gamari-2
raichoo via ghc-devs <[hidden email]> 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

_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

signature.asc (497 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

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

GHC - devs mailing list
Hi Ben,

I've just forked GHC on github, you can find the patch here:

https://github.com/raichoo/ghc/commit/ebdec3f83fc25d75aec91ebedd1bd70f9c6f27ad

I hope this is more helpful.

Kind regards,
raichoo


On Tue, Sep 19, 2017 at 5:25 PM, Ben Gamari <[hidden email]> wrote:
raichoo via ghc-devs <[hidden email]> 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


_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Reply | Threaded
Open this post in threaded view
|

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

Ben Gamari-2
raichoo <[hidden email]> writes:

> Hi Ben,
>
> I've just forked GHC on github, you can find the patch here:
>
> https://github.com/raichoo/ghc/commit/ebdec3f83fc25d75aec91ebedd1bd70f9c6f27ad
>
> 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


_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

signature.asc (497 bytes) Download Attachment