Lines Matching defs:evtype
41 unsigned long evtype[MAX_HWEVENTS];
149 unsigned long *evtype, int n_ev)
154 idx0 = ev67_mapping[evtype[0]-1].idx;
155 config = ev67_mapping[evtype[0]-1].config;
161 if (evtype[0] == EV67_MBOXREPLAY || evtype[1] == EV67_MBOXREPLAY) {
163 idx0 = (evtype[0] == EV67_MBOXREPLAY) ? 1 : 0;
165 if (evtype[idx0] == EV67_CYCLES) {
171 if (evtype[0] == EV67_BCACHEMISS || evtype[1] == EV67_BCACHEMISS) {
173 idx0 = (evtype[0] == EV67_BCACHEMISS) ? 1 : 0;
175 if (evtype[idx0] == EV67_INSTRUCTIONS) {
181 if (evtype[0] == EV67_INSTRUCTIONS || evtype[1] == EV67_INSTRUCTIONS) {
183 idx0 = (evtype[0] == EV67_INSTRUCTIONS) ? 0 : 1;
185 if (evtype[idx0^1] == EV67_CYCLES) {
330 struct perf_event *event[], unsigned long *evtype,
340 evtype[n] = group->hw.event_base;
348 evtype[n] = pe->hw.event_base;
448 cpuc->evtype[n0] = event->hw.event_base;
451 if (!alpha_check_constraints(cpuc->event, cpuc->evtype, n0+1)) {
489 cpuc->evtype[j - 1] = cpuc->evtype[j];