[PATCH 2/4] Adjust comment in tapset/errno.stp so the documentation can be built.

William Cohen wcohen@redhat.com
Fri Sep 21 14:56:00 GMT 2018


---
 tapset/errno.stp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tapset/errno.stp b/tapset/errno.stp
index affa33c4f..a75e3bac2 100644
--- a/tapset/errno.stp
+++ b/tapset/errno.stp
@@ -415,6 +415,8 @@ function set_returnval(val:long) %{
 %) /* compatible <= 4.0 */
 
 
+/* NB: The following function is not STABLE because it depends on varying
+   state in the context. */
 /**
  * sfunction returnval - Possible return value of probed function
  *
@@ -423,8 +425,6 @@ function set_returnval(val:long) %{
  * available. This is only a guess of the actual return value and can be
  * totally wrong. Normally only used in dwarfless probes.
  */
-/* NB: this function is not STABLE because it depends on varying
-   state in the context. */
 function returnval:long () %{ /* pure */
 	struct pt_regs *regs;
   #if STAP_COMPAT_VERSION <= STAP_VERSION(4,0)
-- 
2.17.1



More information about the Systemtap mailing list