mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:27:45 +00:00
Kernel+LibC: Add sys$perf_register_string()
This syscall allows userspace to register a keyed string that appears in a new "strings" JSON object in profile output. This will be used to add custom strings to profile signposts. :^)
This commit is contained in:
parent
00b11d7577
commit
4657c79143
7 changed files with 43 additions and 0 deletions
|
@ -131,6 +131,7 @@ enum class NeedsBigProcessLock {
|
|||
S(munmap, NeedsBigProcessLock::Yes) \
|
||||
S(open, NeedsBigProcessLock::Yes) \
|
||||
S(perf_event, NeedsBigProcessLock::Yes) \
|
||||
S(perf_register_string, NeedsBigProcessLock::Yes) \
|
||||
S(pipe, NeedsBigProcessLock::Yes) \
|
||||
S(pledge, NeedsBigProcessLock::Yes) \
|
||||
S(poll, NeedsBigProcessLock::Yes) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue