Hello I would like to know how can I know the reason that leaded to context switch:
1.The time slice of previous task has ended
2.The previous task goes out for waiting
3.A task with higher priority returns from waiting
4.A task was created
5.The task was ended
6.The task yields CPU
Thank you
Hello I would like to know how can I know the reason that leaded
Share
You can use tracecmd and kernelshark.
See docs/screenshots: http://rostedt.homelinux.com/kernelshark/