mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:04:59 +00:00
Kernel: Track performance events for context switches
This commit is contained in:
parent
c94440860e
commit
8b2ace0326
6 changed files with 29 additions and 2 deletions
|
@ -56,7 +56,8 @@ enum {
|
|||
PERF_EVENT_PROCESS_EXEC,
|
||||
PERF_EVENT_PROCESS_EXIT,
|
||||
PERF_EVENT_THREAD_CREATE,
|
||||
PERF_EVENT_THREAD_EXIT
|
||||
PERF_EVENT_THREAD_EXIT,
|
||||
PERF_EVENT_CONTEXT_SWITCH,
|
||||
};
|
||||
|
||||
#define WNOHANG 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue