From 572bbf28ccd1cd5f8e4f17a38d0fbd989b1d56bf Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Fri, 14 May 2021 08:10:43 +0200 Subject: 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. --- Kernel/Process.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Kernel/Process.h') 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 sys$setkeymap(Userspace); KResultOr sys$module_load(Userspace path, size_t path_length); KResultOr sys$module_unload(Userspace name, size_t name_length); - KResultOr sys$profiling_enable(pid_t); + KResultOr sys$profiling_enable(pid_t, u64); KResultOr sys$profiling_disable(pid_t); KResultOr sys$profiling_free_buffer(pid_t); KResultOr sys$futex(Userspace); -- cgit v1.2.3