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
commit 0d997d48ea
Notes: sideshowbarker 2024-07-18 07:06:27 +09:00
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