summaryrefslogtreecommitdiff
path: root/rts/ghc.mk
diff options
context:
space:
mode:
authorDuncan Coutts <duncan@well-typed.com>2011-05-26 18:44:41 +0100
committerDuncan Coutts <duncan@well-typed.com>2011-05-26 18:47:38 +0100
commite8832eb9f05ca46d9315250c3baf7010eb0630a4 (patch)
treebe08e88284b463362f14673175aedca35bcfcb8c /rts/ghc.mk
parent43c7d555c8d7eea6ba0d76bce33be8d25a01c6fd (diff)
downloadhaskell-e8832eb9f05ca46d9315250c3baf7010eb0630a4.tar.gz
Emit various bits of OS process info into the eventlog
The process ID, parent process ID, rts name and version The program arguments and environment.
Diffstat (limited to 'rts/ghc.mk')
-rw-r--r--rts/ghc.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/rts/ghc.mk b/rts/ghc.mk
index a2369452b7..38ddbc0d46 100644
--- a/rts/ghc.mk
+++ b/rts/ghc.mk
@@ -295,6 +295,7 @@ rts/RtsMain_HC_OPTS += -optc-O0
rts/RtsMessages_CC_OPTS += -DProjectVersion=\"$(ProjectVersion)\"
rts/RtsUtils_CC_OPTS += -DProjectVersion=\"$(ProjectVersion)\"
+rts/Trace_CC_OPTS += -DProjectVersion=\"$(ProjectVersion)\"
#
rts/RtsUtils_CC_OPTS += -DHostPlatform=\"$(HOSTPLATFORM)\"
rts/RtsUtils_CC_OPTS += -DHostArch=\"$(HostArch_CPP)\"