Module: XRay::DTrace::Tracer::Joyent

Defined in:
lib/xray/dtrace/tracer/joyent.rb

Overview

Wrapper around OS X DTracer exposing a custom API and namespace.

Instance Method Summary collapse

Instance Method Details

#enabled?Boolean

:nodoc: all

Returns:

  • (Boolean)


16
17
18
19
# File 'lib/xray/dtrace/tracer/joyent.rb', line 16

def enabled?  #:nodoc: all      
  STDERR.puts "WARNING: XRay::DTrace.Tracer.enabled? does not work with Joyent Tracer"
  false
end

#fire(name, data = nil) ⇒ Object

:nodoc: all



8
9
10
# File 'lib/xray/dtrace/tracer/joyent.rb', line 8

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

#firing(name, data = nil) ⇒ Object

:nodoc: all



12
13
14
# File 'lib/xray/dtrace/tracer/joyent.rb', line 12

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