Opened 9 years ago

Closed 13 months ago

#607 closed task (fixed)

Ticky-ticky profiling

Reported by: simonmar Owned by: tim
Priority: normal Milestone:
Component: Compiler Version: None
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Difficulty: Difficult (2-5 days)
Test Case: Blocked By:
Blocking: Related Tickets:

Description (last modified by simonpj)

Ticky-ticky profiling has bitrotted in 6.4, after the rewrite of the code generator. Much of the code survived the transition, but it hasn't been tested and no doubt some work is required to get it going again.

Change History (12)

comment:1 Changed 8 years ago by simonmar

  • Architecture set to Unknown
  • Description modified (diff)
  • Difficulty set to Difficult (1 week)
  • Operating System set to Unknown

comment:2 Changed 7 years ago by igloo

  • Description modified (diff)
  • Milestone set to 6.8

comment:3 Changed 7 years ago by simonmar

Partially done by Kirsten Chevalier. We should make sure it's working in 6.8.

comment:4 Changed 7 years ago by kirsten

If it isn't working in 6.8, I'd be happy to fix it. I'll keep an eye on this ticket.

comment:5 Changed 6 years ago by simonpj

  • Description modified (diff)
  • Milestone changed from 6.8 branch to _|_

Tim: a very basic version of ticky-ticky profiling (specifically: entry counts, allocations) now works again (partly due to your work) but it's very partial. Norman and I are up-heaving the code generator at the moment, so don't worry about fixing this for now. In a few months time, it'd be great to make ticky-ticky work properly again.

Meanwhile I'm milestoning it "bottom" because I doubt we'll do this ourselves unless we need it for some reason.

Thanks.

Simon

comment:6 Changed 6 years ago by tim

  • Owner set to tim
  • Status changed from new to assigned

Oops, I never saw SimonM's last comment here until now. I'll try to look at this as part of looking into #2455, though I don't currently have a need for ticky either, so it may not happen.

comment:7 Changed 6 years ago by simonmar

  • Architecture changed from Unknown to Unknown/Multiple

comment:8 Changed 6 years ago by simonmar

  • Operating System changed from Unknown to Unknown/Multiple

comment:9 Changed 4 years ago by simonmar

  • Difficulty changed from Difficult (1 week) to Difficult (2-5 days)

comment:10 Changed 3 years ago by ezyang

  • Type of failure set to None/Unknown

Ticky-ticky compilation appears to be broken with the new code generator, though I'm not sure if this is the "rewrite of the code generator" this bug is referring to. A simple test-case is perf/should_run/3586.hs which gives:

ghc-stage2: panic! (the 'impossible' happened)
  (GHC version 7.1.20110313 for i386-unknown-linux):
	cvtToClosureLbl a{v s16T}_ct

comment:11 Changed 13 months ago by nfrisby

This seems to have been fixed at some point; ticky at least compiles. Are we retaining this ticket for some reason?

comment:12 Changed 13 months ago by simonpj

  • Resolution changed from None to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.