From 9ae8cd823cf43106d37afd8d4cd4bcb515a56f91 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 11 Aug 2021 20:04:46 +0200 Subject: [PATCH] profile: Always enable PERF_EVENT_SIGNPOST --- Userland/Utilities/profile.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Userland/Utilities/profile.cpp b/Userland/Utilities/profile.cpp index e11eac5d15..e80c9a8e47 100644 --- a/Userland/Utilities/profile.cpp +++ b/Userland/Utilities/profile.cpp @@ -21,7 +21,8 @@ int main(int argc, char** argv) bool disable = false; bool all_processes = false; u64 event_mask = PERF_EVENT_MMAP | PERF_EVENT_MUNMAP | PERF_EVENT_PROCESS_CREATE - | PERF_EVENT_PROCESS_EXEC | PERF_EVENT_PROCESS_EXIT | PERF_EVENT_THREAD_CREATE | PERF_EVENT_THREAD_EXIT; + | PERF_EVENT_PROCESS_EXEC | PERF_EVENT_PROCESS_EXIT | PERF_EVENT_THREAD_CREATE | PERF_EVENT_THREAD_EXIT + | PERF_EVENT_SIGNPOST; bool seen_event_type_arg = false; args_parser.add_option(pid_argument, "Target PID", nullptr, 'p', "PID");