Lines Matching refs:pmcs
279 * registering and reserving individual pmcs and perf monitors.
2142 kern_return_t pmc_get_pmc_list(pmc_t **pmcs, size_t *pmcCount) {
2187 *pmcs = array;
2199 void pmc_free_pmc_list(pmc_t *pmcs, size_t pmcCount) {
2200 if(pmcs && pmcCount) {
2201 COUNTER_DEBUG("pmcs: %p pmcCount: %lu\n", pmcs, pmcCount);
2203 kfree(pmcs, pmcCount * sizeof(pmc_t));
2207 kern_return_t pmc_find_by_name(const char *name, pmc_t **pmcs, size_t *pmcCount) {
2210 if(!name || !pmcs || !pmcCount) {
2264 *pmcs = NULL;
2269 *pmcs = result;
2272 *pmcs = NULL;
2894 kern_return_t pmc_get_pmc_list(pmc_t **pmcs __unused, size_t *pmcCount __unused) {
2898 void pmc_free_pmc_list(pmc_t *pmcs __unused, size_t pmcCount __unused) {
2901 kern_return_t pmc_find_by_name(const char *name __unused, pmc_t **pmcs __unused,