Change soft-fail to use the config, rather than env
[rbx.git] / kernel / core / dtrace.rb
blob7ab9aaf7e6a1d933d65220ed5baa1838730da611
1 # depends on: module.rb
3 ##
4 # Interface to the custom ruby dtrace(1) probe.
6 module Dtrace
7   def self.fire(arg1 = "", arg2 = "")
8     do_fire arg1, arg2
9   end
11   def self.do_fire(arg1, arg2)
12     Ruby.primitive :dtrace_fire_ruby_probe
13     raise PrimitiveFailure, "primitive failed"      
14   end
15 end