Home
last modified time | relevance | path

Searched refs:current_idx (Results 1 – 2 of 2) sorted by relevance

/linux/arch/alpha/kernel/
H A Dperf_event.c47 int current_idx[MAX_HWEVENTS]; member
342 int *current_idx) in collect_events() argument
352 current_idx[n++] = PMC_NO_INDEX; in collect_events()
360 current_idx[n++] = PMC_NO_INDEX; in collect_events()
402 if (cpuc->current_idx[j] != PMC_NO_INDEX && in maybe_change_configuration()
403 cpuc->current_idx[j] != pe->hw.idx) { in maybe_change_configuration()
404 alpha_perf_event_update(pe, &pe->hw, cpuc->current_idx[j], 0); in maybe_change_configuration()
405 cpuc->current_idx[j] = PMC_NO_INDEX; in maybe_change_configuration()
416 if (cpuc->current_idx[j] == PMC_NO_INDEX) { in maybe_change_configuration()
418 cpuc->current_idx[j] = idx; in maybe_change_configuration()
[all …]
/linux/arch/sparc/kernel/
H A Dperf_event.c105 int current_idx[MAX_HWEVENTS]; member
930 if (cpuc->current_idx[i] != PIC_NO_INDEX && in read_in_all_counters()
931 cpuc->current_idx[i] != cp->hw.idx) { in read_in_all_counters()
933 cpuc->current_idx[i]); in read_in_all_counters()
934 cpuc->current_idx[i] = PIC_NO_INDEX; in read_in_all_counters()
961 if (cpuc->current_idx[i] != PIC_NO_INDEX) in calculate_single_pcr()
965 cpuc->current_idx[i] = idx; in calculate_single_pcr()
995 if (cpuc->current_idx[i] != PIC_NO_INDEX) in calculate_multiple_pcrs()
998 cpuc->current_idx[i] = idx; in calculate_multiple_pcrs()
1078 return cpuc->current_idx[i]; in active_event_index()
[all …]