Lines Matching +defs:val +defs:event
274 cpc_set_add_request(cpc_t *cpc, cpc_set_t *set, const char *event,
288 if (cpc_valid_event(cpc, i, event))
301 (void) strncpy(req->cr_event, event, CPC_MAX_EVENT_LEN);
321 * the pic can count the requested event.
769 cpc_buf_get(cpc_t *cpc, cpc_buf_t *buf, int index, uint64_t *val)
771 *val = buf->cb_data[index];
778 cpc_buf_set(cpc_t *cpc, cpc_buf_t *buf, int index, uint64_t val)
780 buf->cb_data[index] = val;
842 void (*action)(void *arg, int index, const char *event, uint64_t preset,
873 void (*action)(void *arg, const char *event), int is_generic)
899 * event names.
933 void (*action)(void *arg, const char *event))
942 void (*action)(void *arg, const char *event))
950 void (*action)(void *arg, uint_t picno, const char *event), int is_generic)
975 * event names.
997 void (*action)(void *arg, uint_t picno, const char *event))
1005 void (*action)(void *arg, uint_t picno, const char *event))
1095 "Unknown event\n", /* CPC_INVALID_EVENT */
1100 "Counter cannot count requested event\n", /* CPC_PIC_NOT_CAPABLE */
1105 "Hypervisor event access denied\n" /* CPC_HV_NO_ACCESS */
1246 * Before assuming this is an invalid event, see if we have been given
1247 * a raw event code.