Lines Matching refs:state
96 /* task state bitmask, copied from include/linux/sched.h */
106 /* in tsk->state again */
121 enum thread_state state;
474 * every task starts in sleeping state - this gets ignored
475 * if there's no wakeup pointing to this sleep state:
1052 atom->state = THREAD_WAIT_CPU;
1085 if (atom->state != THREAD_WAIT_CPU)
1089 atom->state = THREAD_IGNORE;
1093 atom->state = THREAD_SCHED_IN;
1163 * add in an initial atom in runnable state:
1246 * on run queue and wakeup only change ->state to TASK_RUNNING,
1254 if (sched->profile_cpu == -1 && atom->state != THREAD_SLEEPING)
1263 atom->state = THREAD_WAIT_CPU;
1951 printf(" %s", "state");
1989 static char task_state_char(struct thread *thread, int state)
1992 unsigned bit = state ? ffs(state) : 0;
2006 u64 t, int state)
2047 printf(" %5c ", task_state_char(thread, state));
2538 int state = evsel__intval(evsel, sample, "prev_state");
2627 timehist_print_sample(sched, evsel, sample, &al, thread, t, state);
2639 /* last state is used to determine where to account wait time */
2640 tr->last_state = state;
3496 OPT_BOOLEAN(0, "state", &sched.show_state, "Show task state when sched-out"),