[DTrace-devel] [PATCH 2/5] test: Reduce a few tests' vulnerability to large agg sizes
eugene.loh at oracle.com
eugene.loh at oracle.com
Wed Feb 21 18:48:48 UTC 2024
From: Eugene Loh <eugene.loh at oracle.com>
Signed-off-by: Eugene Loh <eugene.loh at oracle.com>
---
test/demo/fbt/delay.d | 4 +++-
test/unittest/printa/tst.stack.d | 3 ++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/test/demo/fbt/delay.d b/test/demo/fbt/delay.d
index 1d03ed20..016ad204 100644
--- a/test/demo/fbt/delay.d
+++ b/test/demo/fbt/delay.d
@@ -1,11 +1,13 @@
/*
* Oracle Linux DTrace.
- * Copyright (c) 2005, 2023, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2024, Oracle and/or its affiliates. All rights reserved.
* Licensed under the Universal Permissive License v 1.0 as shown at
* http://oss.oracle.com/licenses/upl.
*/
/* @@trigger: none */
+#pragma D option maxframes=5
+
fbt::do_nanosleep:entry
{
self->in = timestamp
diff --git a/test/unittest/printa/tst.stack.d b/test/unittest/printa/tst.stack.d
index b3d2b966..4ac6414f 100644
--- a/test/unittest/printa/tst.stack.d
+++ b/test/unittest/printa/tst.stack.d
@@ -1,11 +1,12 @@
/*
* Oracle Linux DTrace.
- * Copyright (c) 2006, 2023, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2006, 2024, Oracle and/or its affiliates. All rights reserved.
* Licensed under the Universal Permissive License v 1.0 as shown at
* http://oss.oracle.com/licenses/upl.
*/
#pragma D option quiet
+#pragma D option maxframes=5
BEGIN
{
--
2.18.4
More information about the DTrace-devel
mailing list