Lines Matching refs:perfmon_control
46 /* these actions can be combined and simultaneously performed with a single call to perfmon_control() */
55 /* these actions can not be combined and each requires a separate call to perfmon_control() */
88 extern int perfmon_control(struct savearea *save);
99 * int perfmon_control(thread_t thread, perfmon_action_t action, int pmc, u_int32_t val, u_int64_t *pmcs);
107 * perfmon_control(thread, PPC_PERFMON_CLEAR_COUNTERS, 0, 0, NULL);
108 * perfmon_control(thread, PPC_PERFMON_START_COUNTERS, 0, 0, NULL);
109 * perfmon_control(thread, PPC_PERFMON_STOP_COUNTERS, 0, 0, NULL);
110 * perfmon_control(thread, PPC_PERFMON_READ_COUNTERS, 0, 0, uint64_t *pmcs);
111 * perfmon_control(thread, PPC_PERFMON_WRITE_COUNTERS, 0, 0, uint64_t *pmcs);
112 * perfmon_control(thread, PPC_PERFMON_ENABLE, 0, 0, NULL);
113 * perfmon_control(thread, PPC_PERFMON_DISABLE, 0, 0, NULL);
114 * perfmon_control(thread, PPC_PERFMON_SET_EVENT, int pmc, int event, NULL);
115 * perfmon_control(thread, PPC_PERFMON_SET_THRESHOLD, 0, int threshold, NULL);
116 * perfmon_control(thread, PPC_PERFMON_SET_TBSEL, 0, int tbsel, NULL);
117 * perfmon_control(thread, PPC_PERFMON_SET_EVENT_FUNC, 0, perfmon_functional_unit_t func, NULL);
118 * perfmon_control(thread, PPC_PERFMON_ENABLE_PMI_BRKPT, 0, boolean_t enable, NULL);