Linux DTrace development list
 help / color / mirror / Atom feed
* [PATCH 4/4] test: change the type used in this test
@ 2026-11-09 20:09 Kris Van Hees
  0 siblings, 0 replies; only message in thread
From: Kris Van Hees @ 2026-11-09 20:09 UTC (permalink / raw)
  To: dtrace, dtrace-devel

The type that was used in this test changed to no longer provide the
member we were counting on.  Changed it to use a type that has been
in the kernel since 4.10 and has only seen a single change since.

Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
---
 test/unittest/types/tst.nested-unnamed-structs.d | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/unittest/types/tst.nested-unnamed-structs.d b/test/unittest/types/tst.nested-unnamed-structs.d
index 08146785..0e3df66a 100644
--- a/test/unittest/types/tst.nested-unnamed-structs.d
+++ b/test/unittest/types/tst.nested-unnamed-structs.d
@@ -16,17 +16,17 @@
 #pragma D option quiet
 
 dtrace:::BEGIN {
-	printf("offset is %i\n", offsetof(struct rds`rds_message, atomic));
+	printf("offset is %i\n", offsetof(struct `flow_dissector_key_icmp, code));
 }
 
 dtrace:::BEGIN
-/ offsetof(struct rds`rds_message, atomic) == 0 /
+/ offsetof(struct `flow_dissector_key_icmp, code) == 0 /
 {
 	exit(1);
 }
 
 dtrace:::BEGIN
-/ offsetof(struct rds`rds_message, atomic) != 0 /
+/ offsetof(struct `flow_dissector_key_icmp, code) != 0 /
 {
 	exit(0);
 }
-- 
2.52.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-09 20:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-09 20:09 [PATCH 4/4] test: change the type used in this test Kris Van Hees

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox