diff options
Diffstat (limited to 'docs/users_guide')
-rw-r--r-- | docs/users_guide/9.4.1-notes.rst | 7 | ||||
-rw-r--r-- | docs/users_guide/phases.rst | 6 |
2 files changed, 11 insertions, 2 deletions
diff --git a/docs/users_guide/9.4.1-notes.rst b/docs/users_guide/9.4.1-notes.rst index cea17cac60..a062c64374 100644 --- a/docs/users_guide/9.4.1-notes.rst +++ b/docs/users_guide/9.4.1-notes.rst @@ -189,6 +189,13 @@ Compiler type variables when given a polymorphic type. (It used to instantiate inferred type variables.) +Runtime system +~~~~~~~~~~~~~~~~ + +- Support for GHC's eventlog is now enabled in all runtime system configurations, + eliminating the need to pass the :ghc-flag:`-eventlog` flag to use the eventlog. + This flag has been deprecated (:ghc-ticket:`18948`). + ``base`` library ~~~~~~~~~~~~~~~~ diff --git a/docs/users_guide/phases.rst b/docs/users_guide/phases.rst index c931268bbd..619ac889fa 100644 --- a/docs/users_guide/phases.rst +++ b/docs/users_guide/phases.rst @@ -1053,14 +1053,16 @@ for example). :type: dynamic :category: linking + :since: Unconditionally enabled with 9.4 and later + Link the program with the "eventlog" version of the runtime system. A program linked in this way can generate a runtime trace of events (such as thread start/stop) to a binary file :file:`{program}.eventlog`, which can then be interpreted later by various tools. See :ref:`rts-eventlog` for more information. - :ghc-flag:`-eventlog` can be used with :ghc-flag:`-threaded`. It is implied by - :ghc-flag:`-debug`. + Note that as of GHC 9.4 and later eventlog support is included in + the RTS by default and the :ghc-flag:`-eventlog` is deprecated. .. ghc-flag:: -rtsopts[=⟨none|some|all|ignore|ignoreAll⟩] :shortdesc: Control whether the RTS behaviour can be tweaked via command-line |