Skip to content

Commit

Permalink
rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Applencourt committed Oct 22, 2024
1 parent ccca9fe commit 2ba7383
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions xprof/xprof.rb.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env ruby


# 2.7 for Lazy in Enumerable. 2.7 was released 25 Dec 2019
THAPI_RUBY_MINIMAL_VERSION = '2.6.0'
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new(THAPI_RUBY_MINIMAL_VERSION)
Expand Down Expand Up @@ -403,7 +402,7 @@ def env_tracers
# Add our "stud" library to the path
h[%w[LD_LIBRARY_PATH prepend]] << File.join(PKGLIBDIR, name)
# Preload our own lib
h[%w[LD_PRELOAD prepend]] << File.join(PKGLIBDIR, name, "#{lib}.so")
h[%w[LD_PRELOAD prepend]] << File.join(PKGLIBDIR, name, "#{lib}.so")
h["LTTNG_UST_#{name.upcase}_PROFILE"] = 1 if OPTIONS[:profile]
h["LTTNG_UST_#{name.upcase}_VERBOSE"] = 1 if LOGGER.level <= Logger::DEBUG
end
Expand Down

0 comments on commit 2ba7383

Please sign in to comment.