xref: /illumos-gate/usr/src/cmd/dtrace/test/tst/common/usdt/tst.lazyprobe.c (revision edb348833aaacfa1176e502ad38875fd0b2717ab)
1*edb34883SAdam H. Leventhal /*
2*edb34883SAdam H. Leventhal  * CDDL HEADER START
3*edb34883SAdam H. Leventhal  *
4*edb34883SAdam H. Leventhal  * This file and its contents are supplied under the terms of the
5*edb34883SAdam H. Leventhal  * Common Development and Distribution License ("CDDL"), version 1.0.
6*edb34883SAdam H. Leventhal  * You may only use this file in accordance with the terms of version
7*edb34883SAdam H. Leventhal  * 1.0 of the CDDL.
8*edb34883SAdam H. Leventhal  *
9*edb34883SAdam H. Leventhal  * A full copy of the text of the CDDL should have accompanied this
10*edb34883SAdam H. Leventhal  * source.  A copy of the CDDL is also available via the Internet at
11*edb34883SAdam H. Leventhal  * http://www.illumos.org/license/CDDL.
12*edb34883SAdam H. Leventhal  *
13*edb34883SAdam H. Leventhal  * CDDL HEADER END
14*edb34883SAdam H. Leventhal  */
15*edb34883SAdam H. Leventhal 
16*edb34883SAdam H. Leventhal /*
17*edb34883SAdam H. Leventhal  * Copyright (c) 2012 by Delphix. All rights reserved.
18*edb34883SAdam H. Leventhal  */
19*edb34883SAdam H. Leventhal 
20*edb34883SAdam H. Leventhal #include "lazyprobe.h"
21*edb34883SAdam H. Leventhal 
22*edb34883SAdam H. Leventhal int
23*edb34883SAdam H. Leventhal main(int argc, char **argv)
24*edb34883SAdam H. Leventhal {
25*edb34883SAdam H. Leventhal 	for (;;) {
26*edb34883SAdam H. Leventhal 		LAZYPROBE_FIRE();
27*edb34883SAdam H. Leventhal 	}
28*edb34883SAdam H. Leventhal 
29*edb34883SAdam H. Leventhal 	return (0);
30*edb34883SAdam H. Leventhal }
31