name:             ghc-events
version:          0.8.0.1
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,
                  to dump an event log file as text.
category:         Development, GHC, Debug, Profiling, Trace
license:          BSD3
license-file:     LICENSE
author:           Donnie Jones <donnie@darthik.com>,
                  Simon Marlow <marlowsd@gmail.com>,
                  Paul Bone <pbone@csse.unimelb.edu.au>,
                  Mischa Dieterle <dieterle@mathematik.uni-marburg.de>,
                  Thomas Horstmeyer <horstmey@mathematik.uni-marburg.de>,
                  Duncan Coutts <duncan@well-typed.com>,
                  Nicolas Wu <nick@well-typed.com>,
                  Jost Berthold <berthold@diku.dk>
                  Mikolaj Konarski <mikolaj@well-typed.com>
                  Karolis Velicka <karolis.velicka@gmail.com>
maintainer:       Simon Marlow <marlowsd@gmail.com>
bug-reports:      https://github.com/haskell/ghc-events/issues
build-type:       Simple
tested-with:      GHC == 7.8.4
                  GHC == 7.10.3
                  GHC == 8.0.2
                  GHC == 8.2.2
                  GHC == 8.4.4
                  GHC == 8.6.1
cabal-version:    >= 1.8
extra-source-files: include/EventLogFormat.h
                    test/queens-ghc-6.12.1.eventlog
                    test/queens-ghc-6.12.1.eventlog.reference
                    test/queens-ghc-7.0.2.eventlog
                    test/queens-ghc-7.0.2.eventlog.reference
                    test/mandelbrot-mmc-2011-06-14.eventlog
                    test/mandelbrot-mmc-2011-06-14.eventlog.reference
                    test/parallelTest.eventlog
                    test/parallelTest.eventlog.reference
                    test/pre77stop.eventlog
                    test/pre77stop.eventlog.reference
                    test/782stop.eventlog
                    test/782stop.eventlog.reference
                    test/783stop.eventlog
                    test/783stop.eventlog.reference
                    test/sleep.h.eventlog
                    test/sleep.h.eventlog.reference
                    test/sleep.hC.eventlog
                    test/sleep.hC.eventlog.reference
                    test/sleep.hd.eventlog
                    test/sleep.hd.eventlog.reference
                    test/sleep.hm.eventlog
                    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
                    CHANGELOG.md

source-repository head
  type: git
  location: git@github.com:haskell/ghc-events.git

library
  build-depends:    base       >= 4 && < 4.13,
                    containers >= 0.5 && < 0.7,
                    binary     >= 0.7 && < 0.11,
                    bytestring >= 0.10.4,
                    array      >= 0.2 && < 0.6,
                    text       >= 0.11.2.3 && < 1.3,
                    vector     >= 0.7 && < 0.13
  exposed-modules:  GHC.RTS.Events,
                    GHC.RTS.Events.Incremental
                    GHC.RTS.Events.Merge
                    GHC.RTS.Events.Analysis
                    GHC.RTS.Events.Analysis.Capability
                    GHC.RTS.Events.Analysis.SparkThread
                    GHC.RTS.Events.Analysis.Thread
  other-modules:    GHC.RTS.EventParserUtils,
                    GHC.RTS.EventTypes
                    GHC.RTS.Events.Binary
  hs-source-dirs:   src
  include-dirs:     include
  extensions:	    RecordWildCards, NamedFieldPuns, BangPatterns, PatternGuards
  other-extensions: FlexibleContexts, CPP
  ghc-options:      -Wall

executable ghc-events
  main-is:          GhcEvents.hs
  build-depends:    ghc-events, base, containers
  extensions:	    RecordWildCards, NamedFieldPuns, BangPatterns, PatternGuards

test-suite test-versions
  type:             exitcode-stdio-1.0
  main-is:          TestVersions.hs
  other-modules:    Utils
  hs-source-dirs:   ., test
  build-depends:    ghc-events, base
  extensions:	    RecordWildCards, NamedFieldPuns, BangPatterns, PatternGuards

test-suite write-merge
  type:             exitcode-stdio-1.0
  main-is:          WriteMerge.hs
  other-modules:    Utils
  hs-source-dirs:   ., test
  build-depends:    ghc-events, base, bytestring
  extensions:	    RecordWildCards, NamedFieldPuns, BangPatterns, PatternGuards
  buildable:        False