We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 536eadb commit ffb3f9aCopy full SHA for ffb3f9a
.agents/tasks/2025/05/30-0715-kernel-patches-fixes
@@ -0,0 +1,10 @@
1
+Make the following changes in codetracer/kernel_patches.rb
2
+
3
+1) Instead of storing the original methods in @@original_methods, just use alias_method
4
+in reverse to restore the originals
5
6
+2) To avoid polluting the global namespace, instead of using names such
7
+as old_p and old_puts, use names such as codetracer_original_p, codetracer_original_puts.
8
9
+In `test/test_kernel_patches.rb`, make sure that the original methods are restored
10
+when the last tracer is uninstalled.
0 commit comments