Skip to content

Commit

Permalink
Remove MPI_Wtime* from default trace mode (#290)
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Applencourt <[email protected]>
  • Loading branch information
TApplencourt and Thomas Applencourt authored Sep 19, 2024
1 parent d3a370c commit 0b50b1a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion xprof/xprof.rb.in
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,12 @@ end

def enable_events_mpi(channel_name, tracing_mode: 'default', profiling: true)
lttng_enable = "lttng enable-event --userspace --session=#{lttng_session_uuid} --channel=#{channel_name}"
exec("#{lttng_enable} lttng_ust_mpi:*")
case tracing_mode
when 'full'
exec("#{lttng_enable} lttng_ust_mpi:*")
when 'default'
exec("#{lttng_enable} lttng_ust_mpi:* -x lttng_ust_mpi:MPI_WTime*")
end
exec("#{lttng_enable} lttng_ust_mpi_type:*")
end

Expand Down

0 comments on commit 0b50b1a

Please sign in to comment.