[Haskell-cafe] options for the RTS in a dll

Kees Bleijenberg k.bleijenberg at lijbrandt.nl
Sun Dec 1 11:07:20 UTC 2013


Nicolas,

If I profile a test executable in the same directory with +RTS -p everything works fine. So probably it is not a permission issue. 

Kees

-----Oorspronkelijk bericht-----
Van: Nicolas Wu [mailto:nicolas.wu at gmail.com] 
Verzonden: zondag 1 december 2013 11:19
Aan: Kees Bleijenberg
CC: haskell-cafe
Onderwerp: Re: [Haskell-cafe] options for the RTS in a dll

On Sun, Dec 1, 2013 at 10:10 AM, Kees Bleijenberg <k.bleijenberg at lijbrandt.nl> wrote:
> But when I call hs_init_ghc with rtsoptions  –h I get 3 lines with on 
> each
> line:  Can’t open profiling report file <unknown>.hp.
>
> With –p I get missing profiling report <unknown>.prof
>
> Any idea what I’am doing wrong?

Sounds odd. Have you ensured you have write permissions where the profiling files will be created?



More information about the Haskell-Cafe mailing list