#!/usr/bin/env ruby require 'rubygems' unless defined?(gem) here = File.dirname(__FILE__) $LOAD_PATH << File.expand_path(File.join(here, '..', 'lib')) require 'fluent/stackprof' Fluent::Stackprof.new.run