ghc-events 0.7.3 → 0.8.0
raw patch · 7 files changed
+19/−3 lines, 7 filesdep ~basePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base
API changes (from Hackage documentation)
+ GHC.RTS.Events: HeapProfBreakdownClosureType :: HeapProfBreakdown
Files
- CHANGELOG.md +6/−0
- ghc-events.cabal +8/−3
- src/GHC/RTS/EventTypes.hs +3/−0
- src/GHC/RTS/Events.hs +1/−0
- test/Utils.hs +1/−0
- test/stop.hT.eventlog too large to diff
- test/stop.hT.eventlog.reference too large to diff
CHANGELOG.md view
@@ -1,5 +1,11 @@ # Change Log +## 0.8.0 - 2018-07-11++* Add HeapProfBreakdownClosureType ([#33](https://github.com/haskell/ghc-events/pull/33), [#39](https://github.com/haskell/ghc-events/pull/39))+ * This is a breaking change+* Test with newer GHCs ([#40](https://github.com/haskell/ghc-events/pull/40))+ ## 0.7.3 - 2018-07-10 * Fixed memory-leak in incremental readEvents ([#37](https://github.com/haskell/ghc-events/pull/37))
ghc-events.cabal view
@@ -1,5 +1,5 @@ name: ghc-events-version: 0.7.3+version: 0.8.0 synopsis: Library and tool for parsing .eventlog files from GHC description: Parses .eventlog files emitted by GHC 6.12.1 and later. Includes the ghc-events tool permitting, in particular,@@ -20,8 +20,11 @@ maintainer: Simon Marlow <marlowsd@gmail.com> bug-reports: https://github.com/haskell/ghc-events/issues build-type: Simple-tested-with: GHC == 7.8.2, GHC == 7.8.3, GHC == 7.10.1,- GHC == 8.0.2, GHC == 8.2.1, GHC == 8.4.1+tested-with: GHC == 7.8.4+ GHC == 7.10.3+ GHC == 8.0.2+ GHC == 8.2.2+ GHC == 8.4.3 cabal-version: >= 1.8 extra-source-files: include/EventLogFormat.h test/queens-ghc-6.12.1.eventlog@@ -48,6 +51,8 @@ test/sleep.hm.eventlog.reference test/sleep.hy.eventlog test/sleep.hy.eventlog.reference+ test/stop.hT.eventlog+ test/stop.hT.eventlog.reference test/Utils.hs test/stop.hs README.md
src/GHC/RTS/EventTypes.hs view
@@ -562,6 +562,7 @@ | HeapProfBreakdownTypeDescr | HeapProfBreakdownRetainer | HeapProfBreakdownBiography+ | HeapProfBreakdownClosureType deriving Show instance Binary HeapProfBreakdown where@@ -574,6 +575,7 @@ 4 -> return HeapProfBreakdownTypeDescr 5 -> return HeapProfBreakdownRetainer 6 -> return HeapProfBreakdownBiography+ 7 -> return HeapProfBreakdownClosureType _ -> fail $ "Unknown HeapProfBreakdown: " ++ show n put breakdown = put $ case breakdown of HeapProfBreakdownCostCentre -> (1 :: Word32)@@ -582,6 +584,7 @@ HeapProfBreakdownTypeDescr -> 4 HeapProfBreakdownRetainer -> 5 HeapProfBreakdownBiography -> 6+ HeapProfBreakdownClosureType -> 7 newtype HeapProfFlags = HeapProfFlags Word8 deriving (Show, Binary)
src/GHC/RTS/Events.hs view
@@ -507,6 +507,7 @@ HeapProfBreakdownTypeDescr -> "type description" HeapProfBreakdownRetainer -> "retainer" HeapProfBreakdownBiography -> "biography"+ HeapProfBreakdownClosureType -> "closure type" ppEventLog :: EventLog -> String ppEventLog = TL.unpack . TB.toLazyText . buildEventLog
test/Utils.hs view
@@ -12,6 +12,7 @@ , "sleep.hm.eventlog" , "sleep.hd.eventlog" , "sleep.hy.eventlog"+ , "stop.hT.eventlog" ]
+ test/stop.hT.eventlog view
file too large to diff
+ test/stop.hT.eventlog.reference view
file too large to diff