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:
parent
bd821982e0
commit
4916c892b2
6 changed files with 86 additions and 9 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue