Update no-DTrace stub for new probe.fire() function.

This commit is contained in:
Chris Andrews
2012-04-28 11:31:58 +01:00
parent 0c93619674
commit fcc8432111
+5 -1
View File
@@ -3,7 +3,11 @@ var util = require('util');
var DTraceProvider;
function DTraceProviderStub() {}
DTraceProviderStub.prototype.addProbe = function() {};
DTraceProviderStub.prototype.addProbe = function() {
return {
'fire': function() { }
};
};
DTraceProviderStub.prototype.enable = function() {};
DTraceProviderStub.prototype.fire = function() {};