[lttng-dev] What is _prev_state in sched_switch?
Sebastien Boisvert
sboisvert at gydle.com
Mon Jul 29 11:08:22 EDT 2019
On 2019-07-29 5:07 a.m., Ravindra Kumar Meena wrote:
> Okay. The above link was somewhat helpful but I still didn't get what is the meaning of {0, 1, 1026, 4096} values in _prev_state.
>
Christophe explained, the values of _prev_state.
In addition, I suggest you read those links (from general to specific):
- https://en.wikipedia.org/wiki/Finite-state_machine
- https://en.wikipedia.org/wiki/Scheduling_(computing)
- https://www.kernel.org/doc/Documentation/scheduler/sched-design-CFS.txt
More information about the lttng-dev
mailing list