Sha256: 636e6179dcceafeaf90dd847460ccde35f802a276a93e146a9aa43bd84ce7ebc

Contents?: true

Size: 575 Bytes

Versions: 1

Compression:

Stored size: 575 Bytes

Contents

module XRay
  module DTrace
    module Tracer
    
      # Wrapper around OS X DTracer exposing a custom API and namespace.
      module Joyent

        def fire(name, data = nil)    #:nodoc: all      
          ::Tracer.fire(name, data)
        end

        def firing(name, data = nil) #:nodoc: all      
          ::Tracer.fire(name, data)
        end
      
        def enabled?  #:nodoc: all      
          STDERR.puts "WARNING: XRay::DTrace.Tracer.enabled? does not work with Joyent Tracer"
          false
        end
            
      end
      
    end  
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
xray-1.1 lib/xray/dtrace/tracer/joyent.rb