Sha256: 22122cd62fa6ed10f96f45540f9de330fa62609eec0621e0052cf1ca10235562
Contents?: true
Size: 743 Bytes
Versions: 1
Compression:
Stored size: 743 Bytes
Contents
#!/usr/bin/env ruby require 'WasThreadStackProcessor' unless ARGV.length > 0 puts "Dude, not any argument." puts "Usage: WasThreadStackProcessor javacore_files\n" exit end threadStackCombinator = ThreadStackCombinator.new wasThreadStackProcessor = WasThreadStackProcessor.new(threadStackCombinator) ARGV.each do |file| File.open(file, "r") do |infile| wasThreadStackProcessor.process(infile) end end extend Hirb::Console view wasThreadStackProcessor, :class=>:parent_child_tree, :type=>:basic, :value_method=>:text_count, :indent=>1, :children_method=>:children_sorted # wasThreadStackProcessor.threadStackCombinator.combinedThreadStacks.each { |combinedThreadStack| puts combinedThreadStack.call.text}
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
WasThreadStackProcessor-0.1.5 | bin/WasThreadStackProcessor |