[DTrace-devel] [PATCH] Disable building USDT test triggers due to linker failures

Kris Van Hees kris.van.hees at oracle.com
Wed Apr 27 17:49:44 UTC 2022


Disable the EXTERNAL_64BIT_SDT_TRIGGERS targets.  Also add run-dtrace
as an explicit dependency for the "all" target so it gets built.  It
is very frequently used for development testing and was previously
created as a dependency for USDT triggers.

Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
---
 test/triggers/Build | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/test/triggers/Build b/test/triggers/Build
index cb6ed0f6..2adf4cbf 100644
--- a/test/triggers/Build
+++ b/test/triggers/Build
@@ -3,6 +3,8 @@
 # Licensed under the Universal Permissive License v 1.0 as shown at
 # http://oss.oracle.com/licenses/upl.
 
+all:: $(objdir)/run-dtrace
+
 EXTERNAL_64BIT_TRIGGERS = testprobe readwholedir mmap bogus-ioctl open delaydie futex \
     pid-tst-args1 pid-tst-float pid-tst-fork pid-tst-gcc \
     pid-tst-ret1 pid-tst-ret2 pid-tst-vfork pid-tst-weak1 pid-tst-weak2 \
@@ -12,7 +14,7 @@ EXTERNAL_64BIT_TRIGGERS = testprobe readwholedir mmap bogus-ioctl open delaydie
     ustack-tst-spin ustack-tst-mtspin \
     visible-constructor visible-constructor-static visible-constructor-static-unstripped
 
-EXTERNAL_64BIT_SDT_TRIGGERS = usdt-tst-argmap usdt-tst-args usdt-tst-forker usdt-tst-special
+# EXTERNAL_64BIT_SDT_TRIGGERS = usdt-tst-argmap usdt-tst-args usdt-tst-forker # usdt-tst-special
 EXTERNAL_64BIT_TRIGGERS += $(EXTERNAL_64BIT_SDT_TRIGGERS)
 
 EXTERNAL_32BIT_TRIGGERS := visible-constructor-32
-- 
2.34.1




More information about the DTrace-devel mailing list