Skip to content

Commit

Permalink
Fix blocking in xprof (#251)
Browse files Browse the repository at this point in the history
* Fix blocking in xprof

Stupid mistake on my side...

* Update xprof/xprof.rb.in
  • Loading branch information
TApplencourt authored Jul 8, 2024
1 parent 57b4c15 commit f86fd30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xprof/xprof.rb.in
Original file line number Diff line number Diff line change
Expand Up @@ -366,10 +366,10 @@ def env_tracers
h["LTTNG_UST_#{name.upcase}_PROFILE"] = 1 if OPTIONS[:profile]
h["LTTNG_UST_#{name.upcase}_VERBOSE"] = 1 if LOGGER.level <= Logger::DEBUG
end

# Usr Apps need to be launched with this to support blocking.
h['LTTNG_UST_ALLOW_BLOCKING'] = 1
# Customization
h['LTTNG_UST_ZE_PARANOID_DRIFT'] = 1 if OPTIONS[:'backend-names'].include?('ze') && OPTIONS[:profile]

if OPTIONS[:'backend-names'].include?('omp')
backends << 'omp'
h['OMP_TOOL_LIBRARIES'] = File.join(LIBDIR, 'libTracerOMPT.so')
Expand Down

0 comments on commit f86fd30

Please sign in to comment.