1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:28:12 +00:00

Kernel/Profiling: Add profiling to read syscall

Syscalls to read can now be profiled, allowing us to monitor
filesystem usage by different applications.
This commit is contained in:
Jakub Berkop 2021-12-04 13:26:13 +01:00 committed by Andreas Kling
parent bd821982e0
commit 4916c892b2
6 changed files with 86 additions and 9 deletions

View file

@ -32,6 +32,7 @@ enum {
PERF_EVENT_PAGE_FAULT = 8192,
PERF_EVENT_SYSCALL = 16384,
PERF_EVENT_SIGNPOST = 32768,
PERF_EVENT_READ = 65536,
};
#define PERF_EVENT_MASK_ALL (~0ull)