[GHC] #7693: Flush .hp file at the end of each sample
GHC
cvs-ghc at haskell.org
Fri Feb 15 12:16:58 CET 2013
#7693: Flush .hp file at the end of each sample
-----------------------------+----------------------------------------------
Reporter: akio | Owner:
Type: feature request | Status: new
Priority: normal | Component: Runtime System
Version: 7.7 | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: None/Unknown | Blockedby:
Blocking: | Related:
-----------------------------+----------------------------------------------
Tools like hp2any-graph reads a .hp file as it's being written to. However
writing to .hp files is currently block-buffered, causing a delay until
the latest sample can be read. The attached patch adds a call to fflush
every time a complete sample is written.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7693>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list