• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/cddl/contrib/opensolaris/cmd/lockstat/

Lines Matching defs:event

74 	uint32_t	ls_count;	/* cumulative event count */
75 uint32_t ls_event; /* type of event */
77 uint64_t ls_time; /* cumulative event duration */
188 { 'C', "Lock", "Unknown event (type 20)", "units" },
189 { 'C', "Lock", "Unknown event (type 21)", "units" },
190 { 'C', "Lock", "Unknown event (type 22)", "units" },
191 { 'C', "Lock", "Unknown event (type 23)", "units" },
192 { 'C', "Lock", "Unknown event (type 24)", "units" },
193 { 'C', "Lock", "Unknown event (type 25)", "units" },
194 { 'C', "Lock", "Unknown event (type 26)", "units" },
195 { 'C', "Lock", "Unknown event (type 27)", "units" },
196 { 'C', "Lock", "Unknown event (type 28)", "units" },
197 { 'C', "Lock", "Unknown event (type 29)", "units" },
198 { 'C', "Lock", "Unknown event (type 30)", "units" },
199 { 'C', "Lock", "Unknown event (type 31)", "units" },
224 { 'H', "Lock", "Unknown event (type 40)", "units" },
225 { 'H', "Lock", "Unknown event (type 41)", "units" },
226 { 'H', "Lock", "Unknown event (type 42)", "units" },
227 { 'H', "Lock", "Unknown event (type 43)", "units" },
228 { 'H', "Lock", "Unknown event (type 44)", "units" },
229 { 'H', "Lock", "Unknown event (type 45)", "units" },
230 { 'H', "Lock", "Unknown event (type 46)", "units" },
231 { 'H', "Lock", "Unknown event (type 47)", "units" },
232 { 'H', "Lock", "Unknown event (type 48)", "units" },
233 { 'H', "Lock", "Unknown event (type 49)", "units" },
234 { 'H', "Lock", "Unknown event (type 50)", "units" },
235 { 'H', "Lock", "Unknown event (type 51)", "units" },
236 { 'H', "Lock", "Unknown event (type 52)", "units" },
237 { 'H', "Lock", "Unknown event (type 53)", "units" },
238 { 'H', "Lock", "Unknown event (type 54)", "units" },
239 { 'H', "Lock", "Unknown event (type 55)", "units" },
246 { 'I', "Lock", "Unknown event (type 57)", "units" },
247 { 'I', "Lock", "Unknown event (type 58)", "units" },
248 { 'I', "Lock", "Unknown event (type 59)", "units" },
305 strncmp(evp->ev_desc, "Unknown event", 13) == 0)
339 " -b basic statistics (lock, caller, event count)\n"
341 " -h histograms for event times\n"
702 dprog_addevent(int event)
704 ls_event_info_t *info = &g_event_info[event];
756 * If this is a hold event, we need to generate an additional
767 (void) sprintf(buf, "self->ev%d[(uintptr_t)arg0]", event);
773 * If this isn't a hold event, it's the recursive
774 * error event. For this, we simply bump the
786 * If this is the recursive lock error event, we need
800 "self->ev%d[(uintptr_t)arg0]", event);
812 if ((dur = g_min_duration[event]) != 0)
824 dprog_add("\ttrace(%dULL);\n", event);
837 event, arg0, caller, stack, arg1);
841 "(%s);\n", event, arg0, caller, stack, arg1);
846 dprog_add("\tself->ev%d[arg0] = 0;\n", event);
945 fail(0, "bad event size in first record");
1129 uint32_t event;
1188 * XXX -- durations really should be per event
1385 * If we've enabled a hold event, we must explicitly
1701 * Display data by event type
1704 while ((event = (*first)->ls_event) < LS_MAX_EVENTS) {
1706 while ((lsp = *current)->ls_event == event)
1708 report_stats(out, first, current - first, ev_count[event],
1709 ev_time[event]);
1756 uint32_t event = sort_buf[0]->ls_event;
1773 g_event_info[event].ev_desc);
1778 g_Wflag ? "Hottest " : "", g_event_info[event].ev_lhdr);
1785 g_event_info[event].ev_desc, (double)total_count,
1790 (void) sprintf(buf, "%s", g_event_info[event].ev_units);
1844 g_event_info[event].ev_units);
1893 g_event_info[event].ev_units,