You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You'll have to provide a bit more information. Just the very basic test seems to still work.
[nix-shell:/tmp]$ ghc -O2 -fprof-auto -prof -rtsopts -fforce-recomp M.hs && ./M +RTS -pj -RTS && ghc-prof-aeson-flamegraph --profile-file M.prof --output-file /dev/null; echo Exited with $?
[1 of 1] Compiling Main ( M.hs, M.o )
Linking M ...
20
Exited with 0
[nix-shell:/tmp]$ cat M.hs
module Main (main) where
f :: Int -> Int
f = (* 5)
g :: Int -> Int
g = flip div 5
main :: IO ()
main = print . g $ f 20
[nix-shell:/tmp]$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 8.6.4
It appears that if I run it with profiling output produced by GHC 8.6.4 it fails like so:
Maybe the format has changed a little bit and the tool should be updated?
The text was updated successfully, but these errors were encountered: