Add support for decoding profiling headers
2 unresolved threads
2 unresolved threads
Query debugee for profiling mode and TNTC
Deserialize closures instead of relying on ghc-heap The above is necessary to decode profiling headers and ghc-heap does not
Additionally, deserialize info tables in haskell code instead of relying on ghc-heap. This is also necessary to decode profiling info tables properly.
Perhaps we should introduce a type for profiling info tables instead of using StgInfoTable
Merge request reports
Activity
Filter activity
- Resolved by Zubin
- Resolved by Zubin
467 544 (top, _:bot) -> parseModOcc (top : acc) bot 468 545 parseModOcc acc str = (acc, str) 469 546 470 547 class Quintraversable m where That is a good idea @teo
changed this line in version 3 of the diff
- Resolved by Zubin
Looks very good, but I doubt that everything which needs to be modified here is modified (what about
test/Test.hs
etc)
- Resolved by Zubin
378 410 getResponse RequestAllBlocks = many get 379 411 getResponse RequestBlock {} = get 412 getResponse (RequestCCS cptr) 413 | cptr == CCSPtr 0 = pure Nothing 414 | otherwise = Just <$> getCCS 415 getResponse (RequestCC {}) = getCC 416 417 getCCS :: Get CCSPayload 418 getCCS = do 419 len <- fromIntegral <$> getInt16be 420 let go = isolate len $ do 421 ccsID <- getInt64le 422 ccsCc <- get 423 ccsPrevStack <- do 424 p <- get 425 pure $ guard (p /= CCSPtr 0) $> p - Resolved by Zubin
- Resolved by Zubin
- Resolved by Zubin
- Resolved by Zubin
- Resolved by Zubin
- Resolved by Zubin
- Resolved by Zubin
mentioned in merge request !36 (merged)
Please register or sign in to reply