dev-cmd/prof: fix vernier invocation

`--allocation_sample_rate` was renamed to `--allocation_interval` in 8ffadb304f
This commit is contained in:
Carlo Cabrera 2025-03-13 18:07:25 +08:00 committed by Carlo Cabrera
parent b16a2e905c
commit 4066542b27
No known key found for this signature in database
GPG Key ID: C74D447FC549A1D0

View File

@ -50,7 +50,7 @@ module Homebrew
elsif args.vernier?
output_filename = "prof/vernier.json"
Process::UID.change_privilege(Process.euid) if Process.euid != Process.uid
safe_system "vernier", "run", "--output=#{output_filename}", "--allocation_sample_rate=500", "--",
safe_system "vernier", "run", "--output=#{output_filename}", "--allocation_interval=500", "--",
RUBY_PATH, brew_rb, *args.named
ohai "Profiling complete!"
puts "Upload the results from #{output_filename} to:"