You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
o.on('--text','Text summary per method (default)'){options[:format]=:text}
o.on('--json','JSON output (use with web viewers)'){options[:format]=:json}
o.on('--files','List of files'){ |f| options[:format]=:files}
o.on('--limit [num]',Integer,'Limit --text, --files, or --graphviz output to N entries'){ |n| options[:limit]=n}
o.on('--sort-total',"Sort --text or --files output on total samples\n\n"){options[:sort]=true}
o.on('--method [grep]','Zoom into specified method'){ |f| options[:format]=:method;options[:filter]=f}
o.on('--file [grep]',"Show annotated code for specified file"){ |f| options[:format]=:file;options[:filter]=f}
o.on('--walk',"Walk the stacktrace interactively\n\n"){ |f| options[:walk]=true}
o.on('--callgrind','Callgrind output (use with kcachegrind, stackprof-gprof2dot.py)'){options[:format]=:callgrind}
o.on('--graphviz',"Graphviz output (use with dot)"){options[:format]=:graphviz}
o.on('--node-fraction [frac]',OptionParser::DecimalNumeric,'Drop nodes representing less than [frac] fraction of samples'){ |n| options[:node_fraction]=n}
o.on('--stackcollapse','stackcollapse.pl compatible output (use with stackprof-flamegraph.pl)'){options[:format]=:stackcollapse}