Enable MPI tracing for Fortran (#185)

- Move the MPI gotcha functionality from Timemory to the repo.
- Add the PMPI Fortran MPI functions to the existing mpi gotcha handle.

[ROCm/rocprofiler-systems commit: 4fcd8cc78d]
This commit is contained in:
Sajina PK
2025-06-04 18:06:18 -04:00
committed by GitHub
parent 4c4fc2bebe
commit 916aac1e92
13 changed files with 1576 additions and 55 deletions
@@ -209,7 +209,7 @@ post_process(tim::manager* _timemory_manager, bool& _perfetto_output_error)
};
auto trace_data = char_vec_t{};
#if defined(TIMEMORY_USE_MPI) && TIMEMORY_USE_MPI > 0
#if defined(ROCPROFSYS_USE_MPI) && ROCPROFSYS_USE_MPI > 0
if(get_perfetto_combined_traces())
{
using perfetto_mpi_get_t = tim::operation::finalize::mpi_get<char_vec_t, true>;