git: dc2408133b6d - stable/13 - dtrace: fix constants used by the siftr probe
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 11 Jan 2024 09:00:53 UTC
The branch stable/13 has been updated by tuexen:
URL: https://cgit.FreeBSD.org/src/commit/?id=dc2408133b6dfba0c080805f4a137cadece33fa9
commit dc2408133b6dfba0c080805f4a137cadece33fa9
Author: Michael Tuexen <tuexen@FreeBSD.org>
AuthorDate: 2023-06-30 20:15:47 +0000
Commit: Michael Tuexen <tuexen@FreeBSD.org>
CommitDate: 2024-01-11 09:00:33 +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
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D40805
(cherry picked from commit f5541b85a592da9e1e1723b190f1e08afd7d5b18)
---
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 05b95ee15a72..1830c0406e1c 100644
--- a/cddl/lib/libdtrace/siftr.d
+++ b/cddl/lib/libdtrace/siftr.d
@@ -27,9 +27,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