mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
Kernel: Track performance events for context switches
This commit is contained in:
parent
c94440860e
commit
8b2ace0326
Notes:
sideshowbarker
2024-07-18 17:45:47 +09:00
Author: https://github.com/gunnarbeutner
Commit: 8b2ace0326
Pull-request: https://github.com/SerenityOS/serenity/pull/7246
Reviewed-by: https://github.com/tomuta
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