We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7fbb514 commit fb4b97dCopy full SHA for fb4b97d
1 file changed
lib/singed/cli.rb
@@ -27,6 +27,10 @@ def parse_argv!
27
@output_directory = directory
28
end
29
30
+ opts.on("-r", "--rate RATE", Integer, "Sample rate for rbspy") do |rate|
31
+ @rate = rate
32
+ end
33
+
34
opts.order(@argv) do |arg|
35
opts.terminate if arg == "--"
36
break
@@ -71,6 +75,7 @@ def run
71
75
options = {
72
76
format: "speedscope",
73
77
file: filename.to_s,
78
+ rate: @rate,
74
79
silent: nil
80
}
81
0 commit comments