Add filtering by Cost Centre Id
Adds two new requests if the debuggee program has been compiled with profiling: * Request CCS_MAIN location * Dereference IndexTable Package `ghc-debug-client` adds utility functions to find CCSPtrs given a cost centre id, either including all transitive CCS children or only CCS parts that reference a specific cost centre. Add UI Filter to `ghc-debug-brick` allowing to list closures that have been allocated under a specific cost centre.
parent
48a9882e
No related branches found
No related tags found
Showing
- client/ghc-debug-client.cabal 1 addition, 0 deletionsclient/ghc-debug-client.cabal
- client/src/GHC/Debug/Client.hs 5 additions, 0 deletionsclient/src/GHC/Debug/Client.hs
- client/src/GHC/Debug/Client/Query.hs 39 additions, 1 deletionclient/src/GHC/Debug/Client/Query.hs
- client/src/GHC/Debug/Client/RequestCache.hs 4 additions, 0 deletionsclient/src/GHC/Debug/Client/RequestCache.hs
- client/src/GHC/Debug/CostCentres.hs 129 additions, 0 deletionsclient/src/GHC/Debug/CostCentres.hs
- client/src/GHC/Debug/ObjectEquiv.hs 1 addition, 1 deletionclient/src/GHC/Debug/ObjectEquiv.hs
- client/src/GHC/Debug/Profile.hs 3 additions, 2 deletionsclient/src/GHC/Debug/Profile.hs
- client/src/GHC/Debug/Retainers.hs 7 additions, 2 deletionsclient/src/GHC/Debug/Retainers.hs
- client/src/GHC/Debug/Strings.hs 1 addition, 1 deletionclient/src/GHC/Debug/Strings.hs
- client/src/GHC/Debug/Trace.hs 1 addition, 4 deletionsclient/src/GHC/Debug/Trace.hs
- common/src/GHC/Debug/Decode.hs 16 additions, 0 deletionscommon/src/GHC/Debug/Decode.hs
- common/src/GHC/Debug/Types.hs 95 additions, 41 deletionscommon/src/GHC/Debug/Types.hs
- common/src/GHC/Debug/Types/Closures.hs 10 additions, 1 deletioncommon/src/GHC/Debug/Types/Closures.hs
- common/src/GHC/Debug/Types/Ptr.hs 21 additions, 0 deletionscommon/src/GHC/Debug/Types/Ptr.hs
- ghc-debug-brick/src/Lib.hs 15 additions, 2 deletionsghc-debug-brick/src/Lib.hs
- ghc-debug-brick/src/Main.hs 17 additions, 5 deletionsghc-debug-brick/src/Main.hs
- ghc-debug-brick/src/Model.hs 26 additions, 12 deletionsghc-debug-brick/src/Model.hs
- stub/cbits/stub.cpp 41 additions, 19 deletionsstub/cbits/stub.cpp
Loading
Please register or sign in to comment