haskell / ghc-events

Library and tool for parsing .eventlog files from GHC
http://www.haskell.org/haskellwiki/ThreadScope
Other
33 stars 34 forks source link

Support the newly added par_balanced_copied field. #47

Closed sighingnow closed 5 years ago

sighingnow commented 5 years ago

Add a fixed size parser that can handle the newer version of GCStatsGHC Event.

Fixes #31 and #41.

maoe commented 5 years ago

Could you add a small eventlog which contains the new field to the test suite?

sighingnow commented 5 years ago

Done.

The hello-ghc-x.x.x.eventlog demonstrates the difference of GCStatsGHC generated by different version of GHC. The existing stop.hT.eventlog also have 58-bytes GCStatsGHC events and this PR have updated the stop.hT.eventlog.reference as well.

maoe commented 5 years ago

LGTM, thanks!

maoe commented 5 years ago

Just uploaded https://hackage.haskell.org/package/ghc-events-0.9.0.

sighingnow commented 5 years ago

@maoe Thanks!