Lines Matching refs:state
97 /* task state bitmask, copied from include/linux/sched.h */
107 /* in tsk->state again */
122 enum thread_state state;
476 * every task starts in sleeping state - this gets ignored
477 * if there's no wakeup pointing to this sleep state:
1074 atom->state = THREAD_WAIT_CPU;
1107 if (atom->state != THREAD_WAIT_CPU)
1111 atom->state = THREAD_IGNORE;
1115 atom->state = THREAD_SCHED_IN;
1185 * add in an initial atom in runnable state:
1268 * on run queue and wakeup only change ->state to TASK_RUNNING,
1276 if (sched->profile_cpu == -1 && atom->state != THREAD_SLEEPING)
1285 atom->state = THREAD_WAIT_CPU;
1998 printf(" %s", "state");
2036 static char task_state_char(struct thread *thread, int state)
2039 unsigned bit = state ? ffs(state) : 0;
2053 u64 t, int state)
2094 printf(" %5c ", task_state_char(thread, state));
2593 int state = evsel__intval(evsel, sample, "prev_state");
2683 timehist_print_sample(sched, evsel, sample, &al, thread, t, state);
2695 /* last state is used to determine where to account wait time */
2696 tr->last_state = state;
3547 OPT_BOOLEAN(0, "state", &sched.show_state, "Show task state when sched-out"),