Hadrian: teach the RTS that PROFILING implies TRACING
As discussed in #16744 (closed), both the Make and Hadrian build systems
have special code to always pass -eventlog
whenever -prof
or -debug
are passed. However, there is some similar logic in the RTS itself only
for defining TRACING
when the DEBUG
macro is defined, but no such logic
is implemented to define TRACING
when the PROFILING
macro is defined.
This patch adds such a logic and therefore fixes #16744 (closed).