Skip to content
Snippets Groups Projects
  1. May 14, 2024
    • Hannes Siebenhandl's avatar
      Fix Field `closure_desc` in stub.cpp · 2541e77d
      Hannes Siebenhandl authored
      The `closure_desc` of `InfoProv_` was changed from an `char *` to an
      `uint32_t`. This change was mostly done to fix issue:
      ghc#24504
      
      We adapt the stub to these changes by essentially converting the number
      stored in `closure_desc` to its string representation, as most tools
      expect this format.
      For example, the number `10` is turned into the string `"10"`.
      2541e77d
  2. May 13, 2024
  3. Apr 30, 2024
  4. Apr 10, 2024
  5. Apr 05, 2024
  6. Apr 04, 2024
    • Hannes Siebenhandl's avatar
    • Hannes Siebenhandl's avatar
      Remove forgotten debugging pragma · e572e36c
      Hannes Siebenhandl authored
      e572e36c
    • Hannes Siebenhandl's avatar
      Improve UI for two level census by closure type · 990030ce
      Hannes Siebenhandl authored
      Adds colouring to the `CensusStats` for improved readability. It is now
      easier to find the appropriate values across lines.
      
      Omit package and module name from the item list view. The package name
      can easily be over 70 characters long, and are thus unreadable on most
      monitors any way.
      The header panel still shows all the information when hovering over the
      relevant list item, and the on-disk results are not affected.
      
      Additionally, homogeneous Arrays do no longer show all entires but show
      how many entries of the same closure type they contain.
      This reduces memory usage, but also the on-disk size of the two-level
      census results.
      
      To make this possible without parsing in various locations, we store structured
      information about each Closure Type Census while traversing the heap.
      In particular, we store the original `ConstrDesc` and put it into a
      single `Text`, where individual entries are split by ";".
      This avoids most overhead introduced by the additional data structures.
      
      At long last, we also switch to `Data.Text.IO` for writing the census
      results to disk. This seems to remove a memory spike when immediately
      writing the results to disk after a census.
      990030ce
  7. Apr 03, 2024
  8. Apr 02, 2024
  9. Mar 27, 2024
  10. Mar 21, 2024
  11. Mar 20, 2024
  12. Mar 04, 2024
    • Hannes Siebenhandl's avatar
      Disable eras profiling if wrong profiling mode · b8eb11fe
      Hannes Siebenhandl authored
      Some Filters can't be reasonably applied if the debuggee is in the wrong
      profiling mode. For example, eras profiling requires the debuggee to be
      run with `-he`.
      
      We reflect this in ghc-debug-brick by disabling certain filters if their
      profiling mode requirements are not met.
      b8eb11fe
    • Hannes Siebenhandl's avatar
      Increase hlimit for filter label · 9ef7a0ba
      Hannes Siebenhandl authored
      9ef7a0ba
    • Hannes Siebenhandl's avatar
      Rework keybindings · 595f1b5f
      Hannes Siebenhandl authored
      595f1b5f
    • Hannes Siebenhandl's avatar
      Add filtering by Cost Centre Id · 36dc9003
      Hannes Siebenhandl authored and Hannes Siebenhandl's avatar Hannes Siebenhandl committed
      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.
      36dc9003
    • Hannes Siebenhandl's avatar
      Expand IndClosure during String decoding · 48a9882e
      Hannes Siebenhandl authored
      When thunks are evaluated, the thunk closure is replaced with an
      `IndClosure`. To make sure we don't miss parts of the string, we also
      expand `IndClosure` types.
      48a9882e
  13. Feb 28, 2024
  14. Feb 12, 2024
Loading