Home
last modified time | relevance | path

Searched refs:uncore (Results 1 – 5 of 5) sorted by relevance

/arch/x86/events/amd/
Duncore.c129 struct amd_uncore *uncore = event_to_amd_uncore(event); in amd_uncore_add() local
133 if (hwc->idx != -1 && uncore->events[hwc->idx] == event) in amd_uncore_add()
136 for (i = 0; i < uncore->num_counters; i++) { in amd_uncore_add()
137 if (uncore->events[i] == event) { in amd_uncore_add()
145 for (i = 0; i < uncore->num_counters; i++) { in amd_uncore_add()
146 if (cmpxchg(&uncore->events[i], NULL, event) == NULL) { in amd_uncore_add()
156 hwc->config_base = uncore->msr_base + (2 * hwc->idx); in amd_uncore_add()
157 hwc->event_base = uncore->msr_base + 1 + (2 * hwc->idx); in amd_uncore_add()
158 hwc->event_base_rdpmc = uncore->rdpmc_base + hwc->idx; in amd_uncore_add()
170 struct amd_uncore *uncore = event_to_amd_uncore(event); in amd_uncore_del() local
[all …]
DMakefile5 obj-$(CONFIG_PERF_EVENTS_AMD_UNCORE) += amd-uncore.o
6 amd-uncore-objs := uncore.o
/arch/x86/events/intel/
Duncore_discovery.c542 struct intel_uncore_type *uncore, in uncore_update_uncore_type() argument
545 uncore->type_id = type->type; in uncore_update_uncore_type()
546 uncore->num_boxes = type->num_boxes; in uncore_update_uncore_type()
547 uncore->num_counters = type->num_counters; in uncore_update_uncore_type()
548 uncore->perf_ctr_bits = type->counter_width; in uncore_update_uncore_type()
549 uncore->box_ids = type->ids; in uncore_update_uncore_type()
553 uncore->ops = &generic_uncore_msr_ops; in uncore_update_uncore_type()
554 uncore->perf_ctr = (unsigned int)type->box_ctrl + type->ctr_offset; in uncore_update_uncore_type()
555 uncore->event_ctl = (unsigned int)type->box_ctrl + type->ctl_offset; in uncore_update_uncore_type()
556 uncore->box_ctl = (unsigned int)type->box_ctrl; in uncore_update_uncore_type()
[all …]
DMakefile5 obj-$(CONFIG_PERF_EVENTS_INTEL_UNCORE) += intel-uncore.o
6 intel-uncore-objs := uncore.o uncore_nhmex.o uncore_snb.o uncore_snbep.o uncore_discovery.o
/arch/x86/events/
DKconfig5 tristate "Intel uncore performance events"
9 Include support for Intel uncore performance events. These are
42 Include support for AMD uncore performance events for use with
46 module will be called 'amd-uncore'.