perf_event_open.2: Change "current process" to "calling process" in various places

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-04-17 08:47:07 +02:00
parent ce88f77b91
commit ee7b0cbfc9
1 changed files with 3 additions and 3 deletions

View File

@ -82,10 +82,10 @@ and
arguments allow specifying which process and CPU to monitor: arguments allow specifying which process and CPU to monitor:
.TP .TP
.BR "pid == 0" " and " "cpu == \-1" .BR "pid == 0" " and " "cpu == \-1"
This measures the current process/thread on any CPU. This measures the calling process/thread on any CPU.
.TP .TP
.BR "pid == 0" " and " "cpu >= 0" .BR "pid == 0" " and " "cpu >= 0"
This measures the current process/thread only This measures the calling process/thread only
when running on the specified CPU. when running on the specified CPU.
.TP .TP
.BR "pid > 0" " and " "cpu == \-1" .BR "pid > 0" " and " "cpu == \-1"
@ -2251,7 +2251,7 @@ attached to it using the
and and
.B PR_TASK_PERF_EVENTS_DISABLE .B PR_TASK_PERF_EVENTS_DISABLE
operations. operations.
This applies to all counters on the current process, whether created by This applies to all counters on the calling process, whether created by
this process or by another, and does not affect any counters that this this process or by another, and does not affect any counters that this
process has created on other processes. process has created on other processes.
It enables or disables only It enables or disables only