Home | History | Annotate | Download | only in ebb

Lines Matching refs:event

18  * Tests a cpu event vs an EBB - in that order. The EBB should force the cpu
19 * event off the PMU.
22 static int setup_cpu_event(struct event *event, int cpu)
24 event_init_named(event, 0x400FA, "PM_RUN_INST_CMPL");
26 event->attr.exclude_kernel = 1;
27 event->attr.exclude_hv = 1;
28 event->attr.exclude_idle = 1;
31 FAIL_IF(event_open_with_cpu(event, cpu));
32 FAIL_IF(event_enable(event));
40 struct event event;
59 /* We setup the cpu event first */
60 rc = setup_cpu_event(&event, cpu);
66 /* Signal the child to install its EBB event and wait */
78 FAIL_IF(event_disable(&event));
79 FAIL_IF(event_read(&event));
81 event_report(&event);
83 /* The cpu event may have run */