mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:27:46 +00:00
profile: Specify the /proc/profile path in the help message
This commit is contained in:
parent
cdbcb70913
commit
571d090609
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