summaryrefslogtreecommitdiffstats
path: root/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/err.invalidpid.d
diff options
context:
space:
mode:
authorrpaulo <rpaulo@FreeBSD.org>2014-06-26 23:21:11 +0000
committerrpaulo <rpaulo@FreeBSD.org>2014-06-26 23:21:11 +0000
commit8c0e49065f210b6d5f3f7eae268cca2d60c727ba (patch)
tree6a80286a487fba6384a58aad25d078d5681e0abf /cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/err.invalidpid.d
parentb14d31acfe746e87bae81feaeeb78f15dc35ed86 (diff)
parent7d6b0e1d597adba3bf641fc23d3647b6db656985 (diff)
downloadFreeBSD-src-8c0e49065f210b6d5f3f7eae268cca2d60c727ba.zip
FreeBSD-src-8c0e49065f210b6d5f3f7eae268cca2d60c727ba.tar.gz
MFV illumos
4474 DTrace Userland CTF Support 4475 DTrace userland Keyword 4476 DTrace tests should be better citizens 4479 pid provider types 4480 dof emulation is missing checks MFC after: 2 weeks
Diffstat (limited to 'cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/err.invalidpid.d')
-rw-r--r--cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/err.invalidpid.d21
1 files changed, 21 insertions, 0 deletions
diff --git a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/err.invalidpid.d b/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/err.invalidpid.d
new file mode 100644
index 0000000..4865d81
--- /dev/null
+++ b/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/err.invalidpid.d
@@ -0,0 +1,21 @@
+/*
+ * This file and its contents are supplied under the terms of the
+ * Common Development and Distribution License ("CDDL"), version 1.0.
+ * You may only use this file in accordance with the terms of version
+ * 1.0 of the CDDL.
+ *
+ * A full copy of the text of the CDDL should have accompanied this
+ * source. A copy of the CDDL is also available via the Internet at
+ * http://www.illumos.org/license/CDDL.
+ */
+
+/*
+ * Copyright (c) 2013 Joyent, Inc. All rights reserved.
+ */
+
+#pragma D option quiet
+
+BEGIN
+{
+ trace((pidfoo`int)0);
+}
OpenPOWER on IntegriCloud