mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
profile: Specify the /proc/profile path in the help message
This commit is contained in:
parent
cdbcb70913
commit
571d090609
Notes:
sideshowbarker
2024-07-17 21:42:49 +09:00
Author: https://github.com/math2001
Commit: 571d090609
Pull-request: https://github.com/SerenityOS/serenity/pull/11498
2 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ $ profile [-p PID] [-a] [-e] [-d] [-f] [-w] [-c command] [-t event_type]
|
|||
* `--help`: Display help message and exit
|
||||
* `--version`: Print version
|
||||
* `-p PID`: Target PID
|
||||
* `-a`: Profile all processes (super-user only)
|
||||
* `-a`: Profile all processes (super-user only), result at /proc/profile
|
||||
* `-e`: Enable
|
||||
* `-d`: Disable
|
||||
* `-f`: Free the profiling buffer for the associated process(es).
|
||||
|
|
|
@ -26,7 +26,7 @@ int main(int argc, char** argv)
|
|||
bool seen_event_type_arg = false;
|
||||
|
||||
args_parser.add_option(pid_argument, "Target PID", nullptr, 'p', "PID");
|
||||
args_parser.add_option(all_processes, "Profile all processes (super-user only)", nullptr, 'a');
|
||||
args_parser.add_option(all_processes, "Profile all processes (super-user only), result at /proc/profile", nullptr, 'a');
|
||||
args_parser.add_option(enable, "Enable", nullptr, 'e');
|
||||
args_parser.add_option(disable, "Disable", nullptr, 'd');
|
||||
args_parser.add_option(free, "Free the profiling buffer for the associated process(es).", nullptr, 'f');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue