diff options
author | Brian Gianforcaro <b.gianfo@gmail.com> | 2021-04-18 21:10:05 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-19 18:30:37 +0200 |
commit | 4ed682aebc36febc6bff9738ac4e97be02c928a9 (patch) | |
tree | 8e499feb28f8fa878763445908a0deb9ead2b029 /Kernel/API | |
parent | cdd9faaf39d711071d22777ed581590234781407 (diff) | |
download | serenity-4ed682aebc36febc6bff9738ac4e97be02c928a9.zip |
Kernel: Add a syscall to clear the profiling buffer
While profiling all processes the profile buffer lives forever.
Once you have copied the profile to disk, there's no need to keep it
in memory. This syscall surfaces the ability to clear that buffer.
Diffstat (limited to 'Kernel/API')
-rw-r--r-- | Kernel/API/Syscall.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/API/Syscall.h b/Kernel/API/Syscall.h index 11d6807302..db876d786d 100644 --- a/Kernel/API/Syscall.h +++ b/Kernel/API/Syscall.h @@ -171,6 +171,7 @@ namespace Kernel { S(purge) \ S(profiling_enable) \ S(profiling_disable) \ + S(profiling_free_buffer) \ S(futex) \ S(chroot) \ S(pledge) \ |