8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / test / zfs-tests / tests / perf / scripts / profile.d
blobe7fbd1fca5149a4502388dc0da6ffc796bb3bdfa
1 #!/usr/sbin/dtrace -s
3 /*
4 * This file and its contents are supplied under the terms of the
5 * Common Development and Distribution License ("CDDL"), version 1.0.
6 * You may only use this file in accordance with the terms of version
7 * 1.0 of the CDDL.
9 * A full copy of the text of the CDDL should have accompanied this
10 * source. A copy of the CDDL is also available via the Internet at
11 * http://www.illumos.org/license/CDDL.
15 * Copyright (c) 2016 by Delphix. All rights reserved.
18 #pragma D option stackframes=100
21 * @stacks: The number of times a stack has been recorded
24 profile-997
25 / arg0 /
27 @stacks[stack()] = count();
30 ERROR
32 trace(arg1);
33 trace(arg2);
34 trace(arg3);
35 trace(arg4);
36 trace(arg5);