
Two small questions: 1. Is Thread Scope any use for profiling single-threaded programs? 2. I tried to compile my program with -prof, but GHC just whines at me that the packages I'm using haven't been compiled for profiling. Do I really need to go recompile every single package I'm using with profiling support before I can profile my program? How do I tell Cabal to install the necessary code? (I really hope this doesn't involve uninstalling and reinstalling everything...)

On Sun, Feb 21, 2010 at 9:11 AM, Thomas DuBuisson < thomas.dubuisson@gmail.com> wrote:
How do I tell Cabal to install the necessary code?
set: "library-profiling: True"
in your ~/.cabal/config file and never deal with this again (for any new packages you install). use --reinstall -p to updat existing packages.
This really should be the default for cabal. I wonder how many other people run into this problem and don't come here to ask before giving up on profiling. Jason
participants (3)
-
Andrew Coppin
-
Jason Dagit
-
Thomas DuBuisson