From 571d0906099c5059d36e642c6e085e9dff433bdb Mon Sep 17 00:00:00 2001 From: Mathieu PATUREL Date: Thu, 30 Dec 2021 14:44:02 +1100 Subject: [PATCH] profile: Specify the /proc/profile path in the help message --- 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 7012e83cd5..3579528cb9 100644 --- a/Base/usr/share/man/man1/profile.md +++ b/Base/usr/share/man/man1/profile.md @@ -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). diff --git a/Userland/Utilities/profile.cpp b/Userland/Utilities/profile.cpp index 7cbaad1fba..eacb7e33a3 100644 --- a/Userland/Utilities/profile.cpp +++ b/Userland/Utilities/profile.cpp @@ -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');