Message ID | 20241025074247.1157166-3-rostedt@goodmis.org (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | libtraceeval: Updates | expand |
diff --git a/samples/task-eval.c b/samples/task-eval.c index 7b709f715332..47ccce8e4737 100644 --- a/samples/task-eval.c +++ b/samples/task-eval.c @@ -91,7 +91,9 @@ enum sched_state { SLEEP, IDLE, ZOMBIE, + PARKED, EXITED, + DEAD, OTHER, WAKEUP, }; @@ -749,6 +751,10 @@ static int get_stop_state(unsigned long long val) return ZOMBIE; if (val & 0x20) return EXITED; + if (val & 0x40) + return PARKED; + if (val & 0x80) + return DEAD; return PREEMPT; }