Home
last modified time | relevance | path

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

/external/linux-tools-perf/src/tools/perf/
Dbuiltin-sched.c291 struct sched_atom *event, *wakee_event; in add_sched_event_wakeup() local
297 wakee_event = last_event(wakee); in add_sched_event_wakeup()
298 if (!wakee_event || wakee_event->type != SCHED_EVENT_SLEEP) { in add_sched_event_wakeup()
302 if (wakee_event->wait_sem) { in add_sched_event_wakeup()
307 wakee_event->wait_sem = zalloc(sizeof(*wakee_event->wait_sem)); in add_sched_event_wakeup()
308 sem_init(wakee_event->wait_sem, 0, 0); in add_sched_event_wakeup()
309 wakee_event->specific_wait = 1; in add_sched_event_wakeup()
310 event->wait_sem = wakee_event->wait_sem; in add_sched_event_wakeup()