Skip to content

Commit

Permalink
more comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Applencourt committed Sep 4, 2024
1 parent afb6b1e commit 7b6a827
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xprof/xprof.rb.in
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,8 @@ def lm_setup_lttng(backends)
end

end

# This is required to force the creation of an trace,
# so that dirwatch doesn't complain about empty trace
if OPTIONS[:archive]
exec("lttng enable-rotation --session=#{lttng_session_uuid} --size=#{LTTNG_ARCHIVE_SIZE} --timer=#{LTTNG_ARCHIVE_TIMER}")
end
Expand Down

0 comments on commit 7b6a827

Please sign in to comment.