repo.or.cz
/
rbx.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Change soft-fail to use the config, rather than env
[rbx.git]
/
kernel
/
core
/
dtrace.rb
blob
7ab9aaf7e6a1d933d65220ed5baa1838730da611
1
# depends on: module.rb
2
3
##
4
# Interface to the custom ruby dtrace(1) probe.
5
6
module Dtrace
7
def self.fire(arg1 = "", arg2 = "")
8
do_fire arg1, arg2
9
end
10
11
def self.do_fire(arg1, arg2)
12
Ruby.primitive :dtrace_fire_ruby_probe
13
raise PrimitiveFailure, "primitive failed"
14
end
15
end