diff options
author | Gunnar Beutner <gbeutner@serenityos.org> | 2021-05-14 08:10:43 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-19 22:51:42 +0200 |
commit | 572bbf28ccd1cd5f8e4f17a38d0fbd989b1d56bf (patch) | |
tree | 1cc736a0f0fcfe96d4226b6cedfce9d80a62ca54 /Kernel/Process.h | |
parent | 8b2ace0326bceb28bdf80c0a09e8297acf39df97 (diff) | |
download | serenity-572bbf28ccd1cd5f8e4f17a38d0fbd989b1d56bf.zip |
Kernel+LibC: Add support for filtering profiling events
This adds the -t command-line argument for the profile tool. Using this
argument you can filter which event types you want in your profile.
Diffstat (limited to 'Kernel/Process.h')
-rw-r--r-- | Kernel/Process.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Process.h b/Kernel/Process.h index 2f40982850..0867ddac37 100644 --- a/Kernel/Process.h +++ b/Kernel/Process.h @@ -392,7 +392,7 @@ public: KResultOr<int> sys$setkeymap(Userspace<const Syscall::SC_setkeymap_params*>); KResultOr<int> sys$module_load(Userspace<const char*> path, size_t path_length); KResultOr<int> sys$module_unload(Userspace<const char*> name, size_t name_length); - KResultOr<int> sys$profiling_enable(pid_t); + KResultOr<int> sys$profiling_enable(pid_t, u64); KResultOr<int> sys$profiling_disable(pid_t); KResultOr<int> sys$profiling_free_buffer(pid_t); KResultOr<int> sys$futex(Userspace<const Syscall::SC_futex_params*>); |