lockstat.c (256281) | lockstat.c (284998) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 144 unchanged lines hidden (view full) --- 153 { 'C', "Lock", "R/W writer blocked by writer", "nsec", 154 "lockstat:::rw-block", "arg2 == 0 && arg3 == 1" }, 155 { 'C', "Lock", "R/W writer blocked by readers", "nsec", 156 "lockstat:::rw-block", "arg2 == 0 && arg3 == 0 && arg4" }, 157 { 'C', "Lock", "R/W reader blocked by writer", "nsec", 158 "lockstat:::rw-block", "arg2 != 0 && arg3 == 1" }, 159 { 'C', "Lock", "R/W reader blocked by write wanted", "nsec", 160 "lockstat:::rw-block", "arg2 != 0 && arg3 == 0 && arg4" }, | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 144 unchanged lines hidden (view full) --- 153 { 'C', "Lock", "R/W writer blocked by writer", "nsec", 154 "lockstat:::rw-block", "arg2 == 0 && arg3 == 1" }, 155 { 'C', "Lock", "R/W writer blocked by readers", "nsec", 156 "lockstat:::rw-block", "arg2 == 0 && arg3 == 0 && arg4" }, 157 { 'C', "Lock", "R/W reader blocked by writer", "nsec", 158 "lockstat:::rw-block", "arg2 != 0 && arg3 == 1" }, 159 { 'C', "Lock", "R/W reader blocked by write wanted", "nsec", 160 "lockstat:::rw-block", "arg2 != 0 && arg3 == 0 && arg4" }, |
161 { 'C', "Lock", "Unknown event (type 8)", "units" }, 162 { 'C', "Lock", "Unknown event (type 9)", "units" }, 163 { 'C', "Lock", "Unknown event (type 10)", "units" }, 164 { 'C', "Lock", "Unknown event (type 11)", "units" }, 165 { 'C', "Lock", "Unknown event (type 12)", "units" }, 166 { 'C', "Lock", "Unknown event (type 13)", "units" }, 167 { 'C', "Lock", "Unknown event (type 14)", "units" }, 168 { 'C', "Lock", "Unknown event (type 15)", "units" }, | 161 { 'C', "Lock", "R/W writer spin on writer", "nsec", 162 "lockstat:::rw-spin", "arg2 == 0 && arg3 == 1" }, 163 { 'C', "Lock", "R/W writer spin on readers", "nsec", 164 "lockstat:::rw-spin", "arg2 == 0 && arg3 == 0 && arg4" }, 165 { 'C', "Lock", "R/W reader spin on writer", "nsec", 166 "lockstat:::rw-spin", "arg2 != 0 && arg3 == 1" }, 167 { 'C', "Lock", "R/W reader spin on write wanted", "nsec", 168 "lockstat:::rw-spin", "arg2 != 0 && arg3 == 0 && arg4" }, 169 { 'C', "Lock", "SX exclusive block", "nsec", 170 "lockstat:::sx-block", "arg2 == 0" }, 171 { 'C', "Lock", "SX shared block", "nsec", 172 "lockstat:::sx-block", "arg2 != 0" }, 173 { 'C', "Lock", "SX exclusive spin", "nsec", 174 "lockstat:::sx-spin", "arg2 == 0" }, 175 { 'C', "Lock", "SX shared spin", "nsec", 176 "lockstat:::sx-spin", "arg2 != 0" }, |
169 { 'C', "Lock", "Unknown event (type 16)", "units" }, 170 { 'C', "Lock", "Unknown event (type 17)", "units" }, 171 { 'C', "Lock", "Unknown event (type 18)", "units" }, 172 { 'C', "Lock", "Unknown event (type 19)", "units" }, 173 { 'C', "Lock", "Unknown event (type 20)", "units" }, 174 { 'C', "Lock", "Unknown event (type 21)", "units" }, 175 { 'C', "Lock", "Unknown event (type 22)", "units" }, 176 { 'C', "Lock", "Unknown event (type 23)", "units" }, --- 7 unchanged lines hidden (view full) --- 184 { 'C', "Lock", "Unknown event (type 31)", "units" }, 185 { 'H', "Lock", "Adaptive mutex hold", "nsec", 186 "lockstat:::adaptive-release", NULL, 187 "lockstat:::adaptive-acquire" }, 188 { 'H', "Lock", "Spin lock hold", "nsec", 189 "lockstat:::spin-release", NULL, 190 "lockstat:::spin-acquire" }, 191 { 'H', "Lock", "R/W writer hold", "nsec", | 177 { 'C', "Lock", "Unknown event (type 16)", "units" }, 178 { 'C', "Lock", "Unknown event (type 17)", "units" }, 179 { 'C', "Lock", "Unknown event (type 18)", "units" }, 180 { 'C', "Lock", "Unknown event (type 19)", "units" }, 181 { 'C', "Lock", "Unknown event (type 20)", "units" }, 182 { 'C', "Lock", "Unknown event (type 21)", "units" }, 183 { 'C', "Lock", "Unknown event (type 22)", "units" }, 184 { 'C', "Lock", "Unknown event (type 23)", "units" }, --- 7 unchanged lines hidden (view full) --- 192 { 'C', "Lock", "Unknown event (type 31)", "units" }, 193 { 'H', "Lock", "Adaptive mutex hold", "nsec", 194 "lockstat:::adaptive-release", NULL, 195 "lockstat:::adaptive-acquire" }, 196 { 'H', "Lock", "Spin lock hold", "nsec", 197 "lockstat:::spin-release", NULL, 198 "lockstat:::spin-acquire" }, 199 { 'H', "Lock", "R/W writer hold", "nsec", |
192 "lockstat:::rw-release", "arg1 == 0", 193 "lockstat:::rw-acquire" }, | 200 "lockstat::rw_wunlock:rw-release", NULL, 201 "lockstat::rw_wlock:rw-acquire" }, |
194 { 'H', "Lock", "R/W reader hold", "nsec", | 202 { 'H', "Lock", "R/W reader hold", "nsec", |
195 "lockstat:::rw-release", "arg1 != 0", 196 "lockstat:::rw-acquire" }, 197 { 'H', "Lock", "Unknown event (type 36)", "units" }, 198 { 'H', "Lock", "Unknown event (type 37)", "units" }, | 203 "lockstat::rw_runlock:rw-release", NULL, 204 "lockstat::rw_rlock:rw-acquire" }, 205 { 'H', "Lock", "SX shared hold", "nsec", 206 "lockstat::sx_sunlock:sx-release", NULL, 207 "lockstat::sx_slock:sx-acquire" }, 208 { 'H', "Lock", "SX exclusive hold", "nsec", 209 "lockstat::sx_xunlock:sx-release", NULL, 210 "lockstat::sx_xlock:sx-acquire" }, |
199 { 'H', "Lock", "Unknown event (type 38)", "units" }, 200 { 'H', "Lock", "Unknown event (type 39)", "units" }, 201 { 'H', "Lock", "Unknown event (type 40)", "units" }, 202 { 'H', "Lock", "Unknown event (type 41)", "units" }, 203 { 'H', "Lock", "Unknown event (type 42)", "units" }, 204 { 'H', "Lock", "Unknown event (type 43)", "units" }, 205 { 'H', "Lock", "Unknown event (type 44)", "units" }, 206 { 'H', "Lock", "Unknown event (type 45)", "units" }, --- 1715 unchanged lines hidden --- | 211 { 'H', "Lock", "Unknown event (type 38)", "units" }, 212 { 'H', "Lock", "Unknown event (type 39)", "units" }, 213 { 'H', "Lock", "Unknown event (type 40)", "units" }, 214 { 'H', "Lock", "Unknown event (type 41)", "units" }, 215 { 'H', "Lock", "Unknown event (type 42)", "units" }, 216 { 'H', "Lock", "Unknown event (type 43)", "units" }, 217 { 'H', "Lock", "Unknown event (type 44)", "units" }, 218 { 'H', "Lock", "Unknown event (type 45)", "units" }, --- 1715 unchanged lines hidden --- |