Cabal -finfo-table-map not working? GHC 9.10.3

Cabal 3.16.0.0

I’m trying to profile some code a la this and this I can’t seem to get the table map info to show on the detailed page of eventlog2html?

In my cabal file for the game-engine-profile executable I have:

    ghc-options: 
        -O2 
        -threaded
        -prof
        "-with-rtsopts= -hi -pj -l"
    
    ghc-prof-options:
        -finfo-table-map
        -fdistinct-constructor-tables

I’ve also tried running it with:

cabal run exe:game-engine-profile -O2 -finfo-table-map and cabal run exe:game-engine-profile -O2 -- [rtsopts] -finfo-table-map to no avail.

What am I missing? Thanks in advance.

Ignore me, I should have searched more pages. The names and locations are indeed available.

What you are seeing is the consequence of your boot libraries not being compiled with IPE. Can you try something like and re-profile your app with the -ipe compiler?:

$ ghcup --verbose compile ghc -j16 -b 9.10.3 -v 9.10.3 -f release+ipe -o '%v-ipe'

(-b is your local compiler, -v is the compiler you want at the end)