Home
last modified time | relevance | path

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

/tools/perf/
Dbuiltin-sched.c295 struct sched_atom *event, *wakee_event; in add_sched_event_wakeup() local
301 wakee_event = last_event(wakee); in add_sched_event_wakeup()
302 if (!wakee_event || wakee_event->type != SCHED_EVENT_SLEEP) { in add_sched_event_wakeup()
306 if (wakee_event->wait_sem) { in add_sched_event_wakeup()
311 wakee_event->wait_sem = zalloc(sizeof(*wakee_event->wait_sem)); in add_sched_event_wakeup()
312 sem_init(wakee_event->wait_sem, 0, 0); in add_sched_event_wakeup()
313 wakee_event->specific_wait = 1; in add_sched_event_wakeup()
314 event->wait_sem = wakee_event->wait_sem; in add_sched_event_wakeup()