Lines Matching defs:events
35 * Note: An implementation may not be able to count all of these events
67 /* These events are defined by the PMUv2 supplement (ARM DDI 0457A). */
152 * Cortex-A8 HW events mapping
154 * The hardware events that we support. We do support cache operations but
205 * Cortex-A9 HW events mapping
249 * Cortex-A5 HW events mapping
295 * Cortex-A15 HW events mapping
344 * Cortex-A7 HW events mapping
393 * Cortex-A12 HW events mapping
443 * Krait HW events mapping
493 * Scorpion HW events mapping
596 .name = "events",
647 .name = "events",
876 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events);
889 raw_spin_lock_irqsave(&events->pmu_lock, flags);
914 raw_spin_unlock_irqrestore(&events->pmu_lock, flags);
922 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events);
934 raw_spin_lock_irqsave(&events->pmu_lock, flags);
946 raw_spin_unlock_irqrestore(&events->pmu_lock, flags);
974 struct perf_event *event = cpuc->events[idx];
999 * Handle the pending perf events.
1013 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events);
1015 raw_spin_lock_irqsave(&events->pmu_lock, flags);
1018 raw_spin_unlock_irqrestore(&events->pmu_lock, flags);
1024 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events);
1026 raw_spin_lock_irqsave(&events->pmu_lock, flags);
1029 raw_spin_unlock_irqrestore(&events->pmu_lock, flags);
1050 * the events counters
1307 * CC = class of events the group G is choosing from
1314 * events (interrupts for example). An event code is broken down into
1499 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events);
1502 raw_spin_lock_irqsave(&events->pmu_lock, flags);
1516 raw_spin_unlock_irqrestore(&events->pmu_lock, flags);
1525 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events);
1531 raw_spin_lock_irqsave(&events->pmu_lock, flags);
1552 raw_spin_unlock_irqrestore(&events->pmu_lock, flags);
1604 * Two events cant use the same group within a pmresr register.
1619 /* Ignore invalid events */
1658 /* Some early versions of Krait don't support PC write events */
1697 * CC = class of events the group G is choosing from
1704 * events (interrupts for example). An event code is broken down into
1832 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events);
1835 raw_spin_lock_irqsave(&events->pmu_lock, flags);
1849 raw_spin_unlock_irqrestore(&events->pmu_lock, flags);
1858 struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events);
1864 raw_spin_lock_irqsave(&events->pmu_lock, flags);
1885 raw_spin_unlock_irqrestore(&events->pmu_lock, flags);
1937 * Two events cant use the same group within a pmresr register.
1951 /* Ignore invalid events */