From 6218ec8afae28bbe1ffdd841b20fcb437658f328 Mon Sep 17 00:00:00 2001 From: Jakub Berkop Date: Sat, 12 Feb 2022 17:53:23 +0100 Subject: profile: Document "read" profiling event --- Base/usr/share/man/man1/profile.md | 2 +- Userland/Utilities/profile.cpp | 2 +- 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. 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 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)) { -- cgit v1.2.3