Ticket #5474 (closed feature request: duplicate)

Opened 21 months ago

Last modified 20 months ago

Add facility for emitting heap profile marker

Reported by: hvr Owned by:
Priority: normal Milestone:
Component: Profiling Version:
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

When analysing heap profile diagrams I often want correlate certain points in the program execution with the corresponding point in the heap profiling diagram.

Currently, I resort to causing flatlines by burning cpu cycles with some dummy calculations which don't cause too much GC activity. But this is just a crutch, and doesn't work too well for concurrent/parallel Haskell programs.

It would be helpful to have a GHC facility to emit custom marker "events" (maybe with an user-suppliable associated numeric identifier to differentiate between multiple markers) to the heap-profile which could then be directly looked up in the resulting heap profile diagram (rather than having to recognize geometric graph features in the diagram).

Change History

Changed 20 months ago by simonmar

  • status changed from new to closed
  • resolution set to duplicate

already have a ticket for this: #3021

Note: See TracTickets for help on using tickets.