1*15db2897SKrishnendu Sadhukhan - Sun Microsystems# 2*15db2897SKrishnendu Sadhukhan - Sun Microsystems# CDDL HEADER START 3*15db2897SKrishnendu Sadhukhan - Sun Microsystems# 4*15db2897SKrishnendu Sadhukhan - Sun Microsystems# The contents of this file are subject to the terms of the 5*15db2897SKrishnendu Sadhukhan - Sun Microsystems# Common Development and Distribution License (the "License"). 6*15db2897SKrishnendu Sadhukhan - Sun Microsystems# You may not use this file except in compliance with the License. 7*15db2897SKrishnendu Sadhukhan - Sun Microsystems# 8*15db2897SKrishnendu Sadhukhan - Sun Microsystems# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*15db2897SKrishnendu Sadhukhan - Sun Microsystems# or http://www.opensolaris.org/os/licensing. 10*15db2897SKrishnendu Sadhukhan - Sun Microsystems# See the License for the specific language governing permissions 11*15db2897SKrishnendu Sadhukhan - Sun Microsystems# and limitations under the License. 12*15db2897SKrishnendu Sadhukhan - Sun Microsystems# 13*15db2897SKrishnendu Sadhukhan - Sun Microsystems# When distributing Covered Code, include this CDDL HEADER in each 14*15db2897SKrishnendu Sadhukhan - Sun Microsystems# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*15db2897SKrishnendu Sadhukhan - Sun Microsystems# If applicable, add the following below this CDDL HEADER, with the 16*15db2897SKrishnendu Sadhukhan - Sun Microsystems# fields enclosed by brackets "[]" replaced with your own identifying 17*15db2897SKrishnendu Sadhukhan - Sun Microsystems# information: Portions Copyright [yyyy] [name of copyright owner] 18*15db2897SKrishnendu Sadhukhan - Sun Microsystems# 19*15db2897SKrishnendu Sadhukhan - Sun Microsystems# CDDL HEADER END 20*15db2897SKrishnendu Sadhukhan - Sun Microsystems# 21*15db2897SKrishnendu Sadhukhan - Sun Microsystems# Copyright (c) 2008-2009, Intel Corporation. 22*15db2897SKrishnendu Sadhukhan - Sun Microsystems# All Rights Reserved. 23*15db2897SKrishnendu Sadhukhan - Sun Microsystems# 24*15db2897SKrishnendu Sadhukhan - Sun Microsystems# LatencyTOP 1.0 configuration 25*15db2897SKrishnendu Sadhukhan - Sun Microsystems# 26*15db2897SKrishnendu Sadhukhan - Sun Microsystems 27*15db2897SKrishnendu Sadhukhan - Sun Microsystems# 28*15db2897SKrishnendu Sadhukhan - Sun Microsystems# Format: 29*15db2897SKrishnendu Sadhukhan - Sun Microsystems# D <priority> <probe 1> <probe 2> ... <probe n> <Cause> 30*15db2897SKrishnendu Sadhukhan - Sun Microsystems# ; <special_command> <option value> 31*15db2897SKrishnendu Sadhukhan - Sun Microsystems# # comments 32*15db2897SKrishnendu Sadhukhan - Sun Microsystems# 33*15db2897SKrishnendu Sadhukhan - Sun Microsystems# D: We use dtrace probes to tag latency to different causes. The entry probe 34*15db2897SKrishnendu Sadhukhan - Sun Microsystems# pushes the cause and the priority to a thread local stack, and the return 35*15db2897SKrishnendu Sadhukhan - Sun Microsystems# probe pops them. These probes are transformed into: 36*15db2897SKrishnendu Sadhukhan - Sun Microsystems# TRANSLATE(entryprobe, returnprobe, cause, priority) 37*15db2897SKrishnendu Sadhukhan - Sun Microsystems# and are append to the embedded D script. 38*15db2897SKrishnendu Sadhukhan - Sun Microsystems# 39*15db2897SKrishnendu Sadhukhan - Sun Microsystems# <special_command>: 40*15db2897SKrishnendu Sadhukhan - Sun Microsystems# disable_category <category name> : do not count and display <category name> 41*15db2897SKrishnendu Sadhukhan - Sun Microsystems# 42*15db2897SKrishnendu Sadhukhan - Sun Microsystems 43*15db2897SKrishnendu Sadhukhan - Sun Microsystems# ZFS 44*15db2897SKrishnendu Sadhukhan - Sun MicrosystemsD 60 sdt:zfs:zil_commit_writer:zil-cw1 sdt:zfs:zil_commit_writer:zil-cw4 ZFS ZIL writer I/O 45