mpickering / eventlog2html

Visualise eventlog events as a static webpage
Other
69 stars 15 forks source link

Add a "package" column to the detailed pane #147

Open duog opened 3 years ago

duog commented 3 years ago

Thanks for your wonderful project! Would it be possible to add a column to the details pane naming the package of a source location, in the same way that the module is named today? This would help me filter my allocation sites to those inside my program.

mpickering commented 3 years ago

It's a good idea but would require the IPE map to be extended in GHC, the package information of each info table is not currently recorded.

adamgundry commented 2 years ago

I agree with this one, it would be very useful to get package info in the IPE map. I have a src/Utils.hs module in my dependency closure and it took a bit of digging to figure out that it came from scientific!

adamgundry commented 1 year ago

For future reference: Ben is extending the IPE map with unit IDs in https://gitlab.haskell.org/ghc/ghc/-/merge_requests/11341, so this should become possible in the future.