Skip to content
  • Ben Gamari's avatar
    Enable eventlog support in all ways by default · ee11d043
    Ben Gamari authored and Marge Bot's avatar Marge Bot committed
    Here we deprecate the eventlogging RTS ways and instead enable eventlog
    support in the remaining ways. This simplifies packaging and reduces GHC
    compilation times (as we can eliminate two whole compilations of the RTS)
    while simplifying the end-user story. The trade-off is a small increase
    in binary sizes in the case that the user does not want eventlogging
    support, but we think that this is a fine trade-off.
    
    This also revealed a latent RTS bug: some files which included `Cmm.h`
    also assumed that it defined various macros which were in fact defined
    by `Config.h`, which `Cmm.h` did not include. Fixing this in turn
    revealed that `StgMiscClosures.cmm` failed to import various spinlock
    statistics counters, as evidenced by the failed unregisterised build.
    
    Closes #18948.
    ee11d043