GHC.Exts.Heap.ProfInfo.PeekProfInfo_ProfilingDisabled

ghc-heap-9.2.0.20210821: Functions for walking GHC's heap

Safe Haskell | Safe-Inferred
Language | Haskell2010

GHC.Exts.Heap.ProfInfo.PeekProfInfo_ProfilingDisabled

Synopsis

- peekStgTSOProfInfo :: (Ptr a -> IO (Maybe CostCentreStack)) -> Ptr tsoPtr -> IO (Maybe StgTSOProfInfo)
- peekTopCCS :: Ptr a -> IO (Maybe CostCentreStack)

# Documentation

peekStgTSOProfInfo :: (Ptr a -> IO (Maybe CostCentreStack)) -> Ptr tsoPtr -> IO (Maybe StgTSOProfInfo) Source #

This implementation is used when PROFILING is undefined. It always returns `Nothing`, because there is no profiling info available.

peekTopCCS :: Ptr a -> IO (Maybe CostCentreStack) Source #