1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 08:44:58 +00:00

Kernel+LibC: Add PERF_EVENT_SIGNPOST

This event will be used by userspace programs wanting to mark
interesting high-level events in the profile. :^)
This commit is contained in:
Andreas Kling 2021-08-11 20:04:03 +02:00
parent 84053816d5
commit 0d997d48ea
4 changed files with 17 additions and 0 deletions

View file

@ -63,6 +63,7 @@ enum {
PERF_EVENT_KFREE = 4096,
PERF_EVENT_PAGE_FAULT = 8192,
PERF_EVENT_SYSCALL = 16384,
PERF_EVENT_SIGNPOST = 32768,
};
#define WNOHANG 1