By the way... does ticky-ticky allow monitoring multithreaded programs?<br>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.
<br>Cheers.<br>Cristian<br><br><div><span class="gmail_quote">On 8/1/07, <b class="gmail_sendername">Tim Chevalier</b> <<a href="mailto:catamorphism@gmail.com">catamorphism@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 7/31/07, Cristian Perfumo <<a href="mailto:cperfumo@gmail.com">cperfumo@gmail.com</a>> wrote:<br>> Hi all!.<br>> I modified <a href="http://build.mk">build.mk</a> in order to allow Ticky-Ticky profiling (GhcLibWays=t). Now, when I try to make I get this error:
<br>><br>> ------------------------------------------------------------------------<br>><br>> == make way=t all;<br>> PWD = (the_whole_path)/ghc-6.6.1/rts<br>> ------------------------------------------------------------------------
<br>> ../compiler/ghc-inplace -H32m -O -fasm -W -fno-warn-unused-matches -fwarn-unused-imports -optc-O2 -static -I. -#include<br>> 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<br>> ghc-6.6.1: panic! (the 'impossible' happened)<br>> (GHC version 6.6.1 for i386-unknown-linux):<br>><br>> ToDo: tickyAllocThunk<br>><br><br>Hi, Cristian--<br>
To get ticky to work, you need the HEAD (or a recent nightly build<br>snapshot). If it's still not working after that, post again.<br><br>Cheers,<br>Tim<br><br>--<br>Tim Chevalier* <a href="http://catamorphism.org">catamorphism.org
</a> *Often in error, never in doubt<br>"More than at any other time in history, mankind faces a crossroads.<br>One path leads to despair and utter hopelessness. The other, to total<br>extinction. Let us pray we have the wisdom to choose
<br>correctly."--Woody Allen<br></blockquote></div><br>