summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Berkop <jakub.berkop@gmail.com>2022-02-12 17:53:23 +0100
committerAndreas Kling <kling@serenityos.org>2022-02-14 11:38:13 +0100
commit6218ec8afae28bbe1ffdd841b20fcb437658f328 (patch)
treef9d6fa2f9e9dbab3af80179372aba92ff92d0c11
parentcdfb388154a757f0658545cc2f66055aa2773f9e (diff)
downloadserenity-6218ec8afae28bbe1ffdd841b20fcb437658f328.zip
profile: Document "read" profiling event
-rw-r--r--Base/usr/share/man/man1/profile.md2
-rw-r--r--Userland/Utilities/profile.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/Base/usr/share/man/man1/profile.md b/Base/usr/share/man/man1/profile.md
index 3579528cb9..c1d58cf55b 100644
--- a/Base/usr/share/man/man1/profile.md
+++ b/Base/usr/share/man/man1/profile.md
@@ -21,6 +21,6 @@ $ profile [-p PID] [-a] [-e] [-d] [-f] [-w] [-c command] [-t event_type]
* `-c command`: Command
* `-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 -->
diff --git a/Userland/Utilities/profile.cpp b/Userland/Utilities/profile.cpp
index b5ea7bbf28..5756d78cd2 100644
--- a/Userland/Utilities/profile.cpp
+++ b/Userland/Utilities/profile.cpp
@@ -61,7 +61,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
auto print_types = [] {
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)) {