1. 23 Feb, 2016 2 commits
  2. 27 Jan, 2016 2 commits
  3. 26 Jan, 2016 1 commit
    • thomie's avatar
      Fix segmentation fault when .prof file not writeable · 6d2bdfd8
      thomie authored
      There are two ways to do retainer profiling. Quoting from the user's guide:
        1. `+RTS -hr` "Breaks down the graph by retainer set"
        2. `+RTS -hr<cc> -h<x>`, where `-h<x>` is one of normal heap profiling
           break-down options (e.g. `-hc`), and `-hr<cc> means "Restrict the
           profile to closures with retainer sets containing cost-centre
           stacks with one of the specified cost centres at the top."
      
      Retainer profiling writes to a .hp file, like the other heap profiling
      options, but also to a .prof file. Therefore, when the .prof file is not
      writeable for whatever reason, retainer profiling should be turned off
      completely.
      
      This worked ok when running the program with `+RTS -hr` (option 1), but a
      segfault would occur when using `+RTS -hr<cc> -h<x>`, with `x!=r` (option 2).
      
      This commit fixes that.
      
      Reviewed by: bgamari
      
      Differential Revision: https://phabricator.haskell.org/D1849
      
      GHC Trac Issues: #11489
      6d2bdfd8
  4. 08 Jan, 2016 2 commits
  5. 04 Feb, 2015 1 commit
    • Simon Marlow's avatar
      Fix a profiling bug · daed18c3
      Simon Marlow authored
      Summary:
      We were erroneously discarding SCCs on function-typed variables.
      These can affect the call stack, so we have to retain them.  The bug
      was introduced during the recent SourceNote refactoring.
      
      This is an alternative to the fix proposed in D616.  I also added the
      scc005 test from that diff, which works with this change.
      
      While I was here, I also fixed up the other profiling tests, marking a
      few as expect_broken_for(10037) where the opt/unopt output differs in
      non-fatal ways.
      
      Test Plan: profiling tests
      
      Reviewers: scpmw, ezyang, austin
      
      Subscribers: thomie
      
      Differential Revision: https://phabricator.haskell.org/D636
      
      GHC Trac Issues: #10007
      daed18c3
  6. 05 May, 2014 1 commit
  7. 14 Feb, 2013 1 commit
  8. 25 Jan, 2013 1 commit
  9. 27 Jul, 2012 1 commit
  10. 15 Jun, 2012 1 commit
  11. 07 Dec, 2011 1 commit
  12. 02 Dec, 2011 1 commit
  13. 01 Dec, 2011 2 commits
  14. 29 Nov, 2011 3 commits
  15. 23 Nov, 2011 1 commit
  16. 14 Nov, 2011 1 commit
  17. 09 Nov, 2011 1 commit
  18. 02 Nov, 2011 1 commit
  19. 20 Jul, 2011 2 commits
  20. 02 Apr, 2011 1 commit
  21. 18 Oct, 2010 2 commits
  22. 20 Oct, 2009 1 commit
  23. 18 Feb, 2009 2 commits
  24. 15 Dec, 2008 1 commit
  25. 12 Sep, 2008 1 commit
  26. 07 Sep, 2008 1 commit
  27. 27 Jun, 2007 1 commit
  28. 13 Jun, 2007 1 commit
  29. 17 May, 2007 1 commit
  30. 08 May, 2007 1 commit