Lines Matching +defs:val +defs:event
56 * the probe specification and this includes the performance counter event
63 * overflowed and we therefore only allow such CPUs to configure one event at
69 * overflow interrupt are only allowed to program a single event at one time.
90 int64_t dcpc_umask; /* umask/emask for this event */
91 int dcpc_picno; /* pic this event is programmed in */
215 char event[CPC_MAX_EVENT_LEN];
216 long umask = -1, val = 0;
240 * The first part of the string must be either a platform event
241 * name or a generic event name.
244 (void) strncpy(event, p, CPC_MAX_EVENT_LEN - 1);
245 event[CPC_MAX_EVENT_LEN - 1] = '\0';
271 * 2) the specified event is platform specific.
275 if (dcpc_mask_type != 0 && strncmp(event, "PAPI", 4) != 0 &&
288 if ((ddi_strtol(p, &end, 10, &val) != 0) || end != p + strlen(p) ||
289 val < dcpc_min_overflow)
293 * Validate the event and create the probe.
313 if (strcmp(p, event) == 0) {
315 event, umask, (uint32_t)val, flag);
676 * If we come here when the first event is programmed for a CPU,
692 * If this enabling is being removed (in the case of a multi event
822 * on a multi event capable platform then we need to restart counters
1136 * array is not necessarily the order that the event appears in