summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@well-typed.com>2021-11-27 21:39:52 +0000
committerDouglas Wilson <douglas.wilson@gmail.com>2021-12-13 14:07:04 +0000
commite6bbad78e5b6ed7bd82b64e48f0a65559c176a36 (patch)
treef7f949e625bbf33e983feaeee3ab3ddc3f63b78f
parent159c7e1fce103663399f7750a713068a28da85ea (diff)
downloadhaskell-wip/duog/dtrace-on-linux.tar.gz
Apply 2 suggestion(s) to 2 file(s)wip/duog/dtrace-on-linux
-rw-r--r--docs/users_guide/9.4.1-notes.rst2
-rw-r--r--hadrian/src/Builder.hs1
2 files changed, 2 insertions, 1 deletions
diff --git a/docs/users_guide/9.4.1-notes.rst b/docs/users_guide/9.4.1-notes.rst
index 6b99928c44..a4533570c7 100644
--- a/docs/users_guide/9.4.1-notes.rst
+++ b/docs/users_guide/9.4.1-notes.rst
@@ -83,7 +83,7 @@ Compiler
Runtime system
~~~~~~~~~~~~~~
-- dtrace probe points are now provided for linux, adding to the existing support for darwin and FreeBSD. To compile a ghc with this included configure with ``--enable-dtrace`` and ensure libsystemtap is available.
+- DTrace probe points are now provided on Linux, adding to the existing support for Darwin and FreeBSD. To compile GHC with DTrace support pass the ``--enable-dtrace`` flag to `configure` and ensure that `libsystemtap` is available.
``ghc`` library
~~~~~~~~~~~~~~~
diff --git a/hadrian/src/Builder.hs b/hadrian/src/Builder.hs
index c660c1d44a..5e794470b7 100644
--- a/hadrian/src/Builder.hs
+++ b/hadrian/src/Builder.hs
@@ -124,6 +124,7 @@ instance Hashable TestMode
instance NFData TestMode
-- | Note [Dtrace probes]
+-- ~~~~~~~~~~~~~~~~~~~~~~
--
-- We use Dtrace to define "User statically defined tracepoints" (USDTs) for
-- the RTS. (See @rts/RtsProbes.d@ for the probe declarations.)