1178825Sdfr/*
2233294Sstas * This file and its contents are supplied under the terms of the
3178825Sdfr * Common Development and Distribution License ("CDDL"), version 1.0.
4178825Sdfr * You may only use this file in accordance with the terms version
5178825Sdfr * 1.0 of the CDDL.
6178825Sdfr *
7178825Sdfr * A full copy of the text of the CDDL should have accompanied this
8178825Sdfr * source.  A copy of the CDDL is also available via the Internet at
9178825Sdfr * http://www.illumos.org/license/CDDL.
10178825Sdfr */
11178825Sdfr
12178825Sdfr/*
13178825Sdfr * Copyright 2018 Domagoj Stolfa <domagoj.stolfa@cl.cam.ac.uk>.
14178825Sdfr *
15178825Sdfr * This software was developed by BAE Systems, the University of Cambridge
16178825Sdfr * Computer Laboratory, and Memorial University under DARPA/AFRL contract
17178825Sdfr * FA8650-15-C-7558 ("CADETS"), as part of the DARPA Transparent Computing
18178825Sdfr * (TC) research program.
19178825Sdfr *
20178825Sdfr */
21178825Sdfr
22178825Sdfr#pragma ident	"%Z%%M%	%I%	%E% SMI"
23178825Sdfr
24178825Sdfr/*
25178825Sdfr * ASSERTION:
26178825Sdfr * 	collect jid at every fbt probe and at every firing of a
27178825Sdfr *	high-frequency profile probe
28178825Sdfr */
29178825Sdfr
30178825Sdfrfbt:::
31178825Sdfr{
32178825Sdfr	@a[jid] = count();
33178825Sdfr}
34178825Sdfr
35178825Sdfrprofile-4999hz
36178825Sdfr{
37178825Sdfr	@a[jid] = count();
38178825Sdfr}
39178825Sdfr
40233294Sstastick-1sec
41178825Sdfr/n++ == 10/
42178825Sdfr{
43178825Sdfr	exit(0);
44178825Sdfr}
45178825Sdfr