
By the way... does ticky-ticky allow monitoring multithreaded programs?
I ask this because the other way of learning data about the execution
(compiling with -prof) is not compatible with -threaded options. In other
words, you can't compile a Haskell program with -prof and -threaded options
at the same time.
Cheers.
Cristian
On 8/1/07, Tim Chevalier
On 7/31/07, Cristian Perfumo
wrote: Hi all!. I modified build.mk in order to allow Ticky-Ticky profiling (GhcLibWays=t). Now, when I try to make I get this error:
------------------------------------------------------------------------
== make way=t all; PWD = (the_whole_path)/ghc-6.6.1/rts ------------------------------------------------------------------------ ../compiler/ghc-inplace -H32m -O -fasm -W -fno-warn-unused-matches -fwarn-unused-imports -optc-O2 -static -I. -#include HCIncludes.h -fvia-C -dcmm-lint -hisuf t_hi -hcsuf t_hc -osuf t_o -ticky -#include posix/Itimer.h -c PrimOps.cmm -o PrimOps.t_o ghc-6.6.1: panic! (the 'impossible' happened) (GHC version 6.6.1 for i386-unknown-linux):
ToDo: tickyAllocThunk
Hi, Cristian-- To get ticky to work, you need the HEAD (or a recent nightly build snapshot). If it's still not working after that, post again.
Cheers, Tim
-- Tim Chevalier* catamorphism.org *Often in error, never in doubt "More than at any other time in history, mankind faces a crossroads. One path leads to despair and utter hopelessness. The other, to total extinction. Let us pray we have the wisdom to choose correctly."--Woody Allen