Home
last modified time | relevance | path

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

/external/linux-tools-perf/perf-3.12.0/tools/perf/
Dbuiltin-sched.c296 struct sched_atom *event, *wakee_event; in add_sched_event_wakeup() local
302 wakee_event = last_event(wakee); in add_sched_event_wakeup()
303 if (!wakee_event || wakee_event->type != SCHED_EVENT_SLEEP) { in add_sched_event_wakeup()
307 if (wakee_event->wait_sem) { in add_sched_event_wakeup()
312 wakee_event->wait_sem = zalloc(sizeof(*wakee_event->wait_sem)); in add_sched_event_wakeup()
313 sem_init(wakee_event->wait_sem, 0, 0); in add_sched_event_wakeup()
314 wakee_event->specific_wait = 1; in add_sched_event_wakeup()
315 event->wait_sem = wakee_event->wait_sem; in add_sched_event_wakeup()