mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 22:17:43 +00:00
profile: Document "read" profiling event
This commit is contained in:
parent
cdfb388154
commit
6218ec8afa
2 changed files with 2 additions and 2 deletions
|
@ -21,6 +21,6 @@ $ profile [-p PID] [-a] [-e] [-d] [-f] [-w] [-c command] [-t event_type]
|
||||||
* `-c command`: Command
|
* `-c command`: Command
|
||||||
* `-t event_type`: Enable tracking specific event type
|
* `-t event_type`: Enable tracking specific event type
|
||||||
|
|
||||||
Event type can be one of: sample, context_switch, page_fault, syscall, kmalloc and kfree.
|
Event type can be one of: sample, context_switch, page_fault, syscall, read, kmalloc and kfree.
|
||||||
|
|
||||||
<!-- Auto-generated through ArgsParser -->
|
<!-- Auto-generated through ArgsParser -->
|
||||||
|
|
|
@ -61,7 +61,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
||||||
|
|
||||||
auto print_types = [] {
|
auto print_types = [] {
|
||||||
outln();
|
outln();
|
||||||
outln("Event type can be one of: sample, context_switch, page_fault, syscall, kmalloc and kfree.");
|
outln("Event type can be one of: sample, context_switch, page_fault, syscall, read, kmalloc and kfree.");
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!args_parser.parse(arguments, Core::ArgsParser::FailureBehavior::PrintUsage)) {
|
if (!args_parser.parse(arguments, Core::ArgsParser::FailureBehavior::PrintUsage)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue