diff options
Diffstat (limited to 'tool/gen_dummy_probes.rb')
-rwxr-xr-x | tool/gen_dummy_probes.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/gen_dummy_probes.rb b/tool/gen_dummy_probes.rb index 46af8cbb5c..e3d9232e52 100755 --- a/tool/gen_dummy_probes.rb +++ b/tool/gen_dummy_probes.rb @@ -22,5 +22,6 @@ text.gsub!(/\([^,)]+,[^,)]+,[^,)]+,[^,)]+\)/, '(arg0, arg1, arg2, arg3)') text.gsub!(/\([^,)]+,[^,)]+,[^,)]+,[^,)]+,[^,)]+\)/, '(arg0, arg1, arg2, arg3, arg4)') text.gsub!(/ *PROBE ([^\(]*)(\([^\)]*\));/, "#define RUBY_DTRACE_\\1_ENABLED() 0\n#define RUBY_DTRACE_\\1\\2\ do \{ \} while\(0\)") +puts "/* -*- c -*- */" print text |