packages feed

ghc-stack-profiler-core-0.2.0.0: ghc-stack-profiler-core.cabal

cabal-version: 3.8
name: ghc-stack-profiler-core
version: 0.2.0.0
license: BSD-3-Clause
author: Hannes Siebenhandl, Wen Kokke, Matthew Pickering
maintainer: hannes@well-typed.com
build-type: Simple
synopsis: Thread sample types and serialisation logic for `ghc-stack-profiler`.
description:
  Thread sample types and serialisation logic for `ghc-stack-profiler`.
  Defines the interface and serialisation logic to turn an RTS Callstack into a binary message suitable for the eventlog.

extra-doc-files: CHANGELOG.md
category: Profiling, Benchmarking, Development
tested-with:
  ghc ==9.10.3
  ghc ==9.12.2
  ghc ==9.14.1

common warnings
  ghc-options:
    -Wall
    -Wunused-packages

common exts
  default-extensions:
    DeriveGeneric
    DerivingStrategies
    DuplicateRecordFields
    LambdaCase
    NamedFieldPuns
    NoImportQualifiedPost
    ViewPatterns

library
  import:
    warnings, exts

  exposed-modules:
    GHC.Stack.Profiler.Core.Eventlog
    GHC.Stack.Profiler.Core.SourceLocation
    GHC.Stack.Profiler.Core.SymbolTable
    GHC.Stack.Profiler.Core.ThreadSample
    GHC.Stack.Profiler.Core.Util

  build-depends:
    base >=4.17 && <4.23,
    binary >=0.8.9.3 && <0.11,
    bytestring >=0.11 && <0.13,
    containers >=0.6.8 && <0.9,
    text >=2 && <2.2,
    transformers ^>=0.6.1,

  hs-source-dirs:
    src

  default-language: GHC2021

source-repository head
  type: git
  location: https://github.com/well-typed/ghc-stack-profiler.git
  subdir: ghc-stack-profiler-core