From 790ee6d6287e258cfb5ee9b939d62bc10a455950 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sun, 17 Aug 2014 10:29:31 -0500 Subject: [PATCH] perf_event_open.2: wfix Reported-by: Vince Weaver Signed-off-by: Michael Kerrisk --- man2/perf_event_open.2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/man2/perf_event_open.2 b/man2/perf_event_open.2 index bd5c7c1c0..f4a13e969 100644 --- a/man2/perf_event_open.2 +++ b/man2/perf_event_open.2 @@ -864,9 +864,9 @@ and .BR prctl (PR_SET_NAME) system calls as well as writing to .IR /proc/self/comm . -If the additional +If the .I comm_exec -flag can be set (starting with Linux 3.16) +flag is also successfully set (possible since Linux 3.16), then the misc flag .B PERF_RECORD_MISC_COMM_EXEC can be used to differentiate the