Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jun 2023 20:19:10 GMT
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: f5541b85a592 - main - dtrace: fix constants used by the siftr probe
Message-ID:  <202306302019.35UKJArV062786@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by tuexen:

URL: https://cgit.FreeBSD.org/src/commit/?id=f5541b85a592da9e1e1723b190f1e08afd7d5b18

commit f5541b85a592da9e1e1723b190f1e08afd7d5b18
Author:     Michael Tuexen <tuexen@FreeBSD.org>
AuthorDate: 2023-06-30 20:15:47 +0000
Commit:     Michael Tuexen <tuexen@FreeBSD.org>
CommitDate: 2023-06-30 20:15:47 +0000

    dtrace: fix constants used by the siftr probe
    
    The constants used in the C code were changed in
    https://svnweb.freebsd.org/changeset/base/343646
    but changing them also in the dtrace translator was missed.
    
    Reviewed by:            cc, rscheff
    MFC after:              3 days
    Sponsored by:           Netflix, Inc.
    Differential Revision:  https://reviews.freebsd.org/D40805
---
 cddl/lib/libdtrace/siftr.d | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cddl/lib/libdtrace/siftr.d b/cddl/lib/libdtrace/siftr.d
index 37bc30ff3e06..e75d41534268 100644
--- a/cddl/lib/libdtrace/siftr.d
+++ b/cddl/lib/libdtrace/siftr.d
@@ -29,9 +29,9 @@
  * Convert a SIFTR direction value to a string
  */
 #pragma D binding "1.12.1" SIFTR_IN
-inline int SIFTR_IN =	1;
+inline int SIFTR_IN =	0;
 #pragma D binding "1.12.1" SIFTR_OUT
-inline int SIFTR_OUT =	2;
+inline int SIFTR_OUT =	1;
 
 /* SIFTR direction strings. */
 #pragma D binding "1.12.1" siftr_dir_string



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306302019.35UKJArV062786>