[GHC] #8308: Resurrect ticky code for counting constructor arity
GHC
ghc-devs at haskell.org
Thu May 19 12:27:36 UTC 2016
#8308: Resurrect ticky code for counting constructor arity
-------------------------------------+-------------------------------------
Reporter: jstolarek | Owner:
Type: task | Status: new
Priority: normal | Milestone: 8.2.1
Component: Profiling | Version: 7.7
Resolution: | Keywords: newcomer
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: Other | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D931
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by bgamari):
I suspect the issue here is the fact that you built your libraries with
ticky. The testcase is expecting to see a count of 1 in the
`RET_NEW_hst_1` ticker, since it expects only the testcase itself to be
instrumented. However, since you have also instrumented the libraries, the
count is larger.
In this sense the testcase as-written may be a bit fragile, although I
can't think of any great way to fix this without compromising the
precision of the check in the "normal" case (where the user has
instrumented their libraries, which is by far more common).
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8308#comment:13>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list