3 * putnexts.d - stream putnext() tracing with stacks. Solaris, DTrace.
5 * This shows who is calling putnext() to who, by listing the destination
6 * queue and the calling stack, by frequency count. This is especially useful
7 * for understanding streams based frameworks, such as areas of the Solaris
10 * $Id: putnexts.d 14 2007-09-11 08:03:35Z brendan $
14 * BASED ON: /usr/demo/dtrace/putnext.d
16 * PORTIONS: Copyright (c) 2007 Brendan Gregg.
20 * The contents of this file are subject to the terms of the
21 * Common Development and Distribution License, Version 1.0 only
22 * (the "License"). You may not use this file except in compliance
25 * You can obtain a copy of the license at Docs/cddl1.txt
26 * or http://www.opensolaris.org/os/licensing.
27 * See the License for the specific language governing permissions
28 * and limitations under the License.
32 * 12-Jun-2005 Brendan Gregg Created this.
37 @[stringof(args[0]->q_qinfo->qi_minfo->mi_idname), stack(5)] = count();