https://github.com/adurang commented: could we have an enable/disable routine (which would also allow for selective profiling) in the CommonInterface and just let OpenMP call that when OMP_INFOTYPE_API_TRACE is enabled? https://github.com/llvm/llvm-project/pull/215582