mirror of
https://github.com/hanzoai/node-dtrace-provider.git
synced 2026-09-23 23:48:45 +00:00
Update no-DTrace stub for new probe.fire() function.
This commit is contained in:
+5
-1
@@ -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() {};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user