Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion xprof/xprof.rb.in
Original file line number Diff line number Diff line change
Expand Up @@ -917,9 +917,14 @@ def all_env_tracers(usr_binary)
h["LTTNG_UST_#{name.upcase}_PROFILE"] = 1 if OPTIONS[:profile]
h["LTTNG_UST_#{name.upcase}_VERBOSE"] = 1 if LOGGER.level <= Logger::DEBUG
end
# Only support blocking.
# Only support blocking, so lttng doesn't drop messages
h['LTTNG_UST_ALLOW_BLOCKING'] = 1

# Each tracee rank tries to register simultaneously.
# With the default (3s) timeout, ranks that lose the registration race give up
# and run untraced. Block until registration completes instead.
h['LTTNG_UST_REGISTER_TIMEOUT'] = -1

# Customization
if OPTIONS[:'backend-names'].include?('ze')
h['LTTNG_UST_ZE_PARANOID_DRIFT'] = 1 if OPTIONS[:profile]
Expand Down
Loading