[前][次][番号順一覧][スレッド一覧]

ruby-changes:61285

From: Avdi <ko1@a...>
Date: Mon, 18 May 2020 14:39:39 +0900 (JST)
Subject: [ruby-changes:61285] afd84c58ac (master): Document how to enable USDT method entry/exit tracepoints

https://git.ruby-lang.org/ruby.git/commit/?id=afd84c58ac

From afd84c58acfe9126d31c3f7673b049f11b67b095 Mon Sep 17 00:00:00 2001
From: Avdi Grimm <avdi@u...>
Date: Sat, 16 May 2020 16:29:05 -0500
Subject: Document how to enable USDT method entry/exit tracepoints


diff --git a/doc/dtrace_probes.rdoc b/doc/dtrace_probes.rdoc
index d2cdd56..afb4216 100644
--- a/doc/dtrace_probes.rdoc
+++ b/doc/dtrace_probes.rdoc
@@ -56,10 +56,16 @@ with when they are fired and the arguments they take: https://github.com/ruby/ruby/blob/trunk/doc/dtrace_probes.rdoc#L56
     methodname name of the method about to be executed (a string)
     filename the file name where the method is _being called_ (a string)
     lineno the line number where the method is _being called_ (an int)
+    
+  *NOTE*: will only be fired if tracing is enabled, e.g. with: +TracePoint.new{}.enable+. 
+  See {ticket #14104}[https://bugs.ruby-lang.org/issues/14104] for more details.
 
 [ruby:::method-return(classname, methodname, filename, lineno);]
   This probe is fired just after a method has returned. The arguments are the
   same as "ruby:::method-entry".
+  
+  *NOTE*: will only be fired if tracing is enabled, e.g. with: +TracePoint.new{}.enable+. 
+  See {ticket #14104}[https://bugs.ruby-lang.org/issues/14104] for more details.
 
 [ruby:::cmethod-entry(classname, methodname, filename, lineno);]
   This probe is fired just before a C method is entered. The arguments are the
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]