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
commit 4916c892b2
Notes: sideshowbarker 2024-07-17 23:07:41 +09:00
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)