mirror of https://github.com/mkerrisk/man-pages
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:
parent
49bc411c34
commit
5ab35ae520
|
@ -997,11 +997,11 @@ The
|
||||||
flag must also be set for this to work.
|
flag must also be set for this to work.
|
||||||
.TP
|
.TP
|
||||||
.IR "comm_exec" " (since Linux 3.16)"
|
.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.
|
kernel behavior.
|
||||||
If this flag can successfully be set, then when
|
If this flag can successfully be set, then, when
|
||||||
.I comm
|
.I comm
|
||||||
is enabled a
|
is enabled, the
|
||||||
.B PERF_RECORD_MISC_COMM_EXEC
|
.B PERF_RECORD_MISC_COMM_EXEC
|
||||||
flag will be set in the
|
flag will be set in the
|
||||||
.I misc
|
.I misc
|
||||||
|
@ -1676,7 +1676,8 @@ This record indicates a change in the process name.
|
||||||
.nf
|
.nf
|
||||||
struct {
|
struct {
|
||||||
struct perf_event_header header;
|
struct perf_event_header header;
|
||||||
u32 pid, tid;
|
u32 pid;
|
||||||
|
u32 tid;
|
||||||
char comm[];
|
char comm[];
|
||||||
struct sample_id sample_id;
|
struct sample_id sample_id;
|
||||||
};
|
};
|
||||||
|
@ -1685,10 +1686,10 @@ struct {
|
||||||
.RS
|
.RS
|
||||||
.TP
|
.TP
|
||||||
.I pid
|
.I pid
|
||||||
is the process id.
|
is the process ID.
|
||||||
.TP
|
.TP
|
||||||
.I tid
|
.I tid
|
||||||
is the thread id.
|
is the thread ID.
|
||||||
.TP
|
.TP
|
||||||
.I comm
|
.I comm
|
||||||
is a string containing the new name of the process.
|
is a string containing the new name of the process.
|
||||||
|
|
Loading…
Reference in New Issue