Lines Matching refs:pmc_id_t
288 } pmc_id_t;
396 typedef void (pmc_ovf_func_t)(pmc_id_t id, void *state);
404 extern boolean_t pmc_is_reserved(pmc_id_t id);
405 extern int pmc_reserve(pmc_id_t id);
406 extern int pmc_free(pmc_id_t id);
407 extern int pmc_counter_read(pmc_id_t id, pmc_counter_t *val);
408 extern int pmc_counter_write(pmc_id_t id, pmc_counter_t *val);
411 extern int pmc_evtsel_read(pmc_id_t id, pmc_evtsel_t *evtsel);
412 extern int pmc_evtsel_write(pmc_id_t id, pmc_evtsel_t *evtsel);
415 extern int pmc_cccr_read(pmc_id_t id, pmc_cccr_t *cccr);
416 extern int pmc_cccr_write(pmc_id_t id, pmc_cccr_t *cccr);
417 extern int pmc_escr_read(pmc_id_t id, pmc_escr_id_t esid, pmc_escr_t *escr);
418 extern int pmc_escr_write(pmc_id_t id, pmc_escr_id_t esid, pmc_escr_t *escr);
419 extern int pmc_set_ovf_func(pmc_id_t id, pmc_ovf_func_t *func);