mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
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.
This commit is contained in:
parent
8b2ace0326
commit
572bbf28cc
Notes:
sideshowbarker
2024-07-18 17:45:43 +09:00
Author: https://github.com/gunnarbeutner
Commit: 572bbf28cc
Pull-request: https://github.com/SerenityOS/serenity/pull/7246
Reviewed-by: https://github.com/tomuta
10 changed files with 72 additions and 33 deletions
|
@ -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*>);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue