perf_event_open.2: Tweaks to Vince Weaver's "document new comm_exec flag" patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-08-15 21:19:34 +02:00
parent 49bc411c34
commit 5ab35ae520
1 changed files with 7 additions and 6 deletions

View File

@ -997,11 +997,11 @@ The
flag must also be set for this to work.
.TP
.IR "comm_exec" " (since Linux 3.16)"
This is purely a feature detection flag, it does not change
This is purely a feature-detection flag, it does not change
kernel behavior.
If this flag can successfully be set, then when
If this flag can successfully be set, then, when
.I comm
is enabled a
is enabled, the
.B PERF_RECORD_MISC_COMM_EXEC
flag will be set in the
.I misc
@ -1676,7 +1676,8 @@ This record indicates a change in the process name.
.nf
struct {
struct perf_event_header header;
u32 pid, tid;
u32 pid;
u32 tid;
char comm[];
struct sample_id sample_id;
};
@ -1685,10 +1686,10 @@ struct {
.RS
.TP
.I pid
is the process id.
is the process ID.
.TP
.I tid
is the thread id.
is the thread ID.
.TP
.I comm
is a string containing the new name of the process.