From 905d6be36f9455b408fa866aa92eccf17655d7ee Mon Sep 17 00:00:00 2001 From: Brice Videau Date: Mon, 13 May 2024 15:46:40 -0500 Subject: [PATCH] Make only local master do energy profiling. --- xprof/xprof.rb.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xprof/xprof.rb.in b/xprof/xprof.rb.in index 16289f41..285601d2 100755 --- a/xprof/xprof.rb.in +++ b/xprof/xprof.rb.in @@ -386,7 +386,7 @@ def env_tracers end # Sample - if sampling? + if sampling? && mpi_local_master> LOGGER.debug('Sampling Enabled') h['LTTNG_UST_SAMPLING'] = 1 h['LTTNG_UST_SAMPLING_ENERGY'] = 1