Commit 46c072d4 authored by Sean McGivern's avatar Sean McGivern

Merge branch 'stackprof-mode-cpu' into 'master'

Set Stackprof profiling mode to "cpu"

See merge request gitlab-org/gitlab!36994
parents fd90d240 5aacb648
......@@ -62,6 +62,7 @@ if Gitlab::Utils.to_boolean(ENV['STACKPROF_ENABLED'].to_s)
)
StackProf.start(
mode: :cpu,
raw: Gitlab::Utils.to_boolean(ENV['STACKPROF_RAW'] || 'true'),
interval: ENV['STACKPROF_INTERVAL_US']&.to_i || 10_000
)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment