linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* perf_event_open() -- fix a few typos
@ 2013-07-08 19:49 Vince Weaver
       [not found] ` <alpine.DEB.2.10.1307081547210.10386-6xBS8L8d439fDsnSvq7Uq4Se7xf15W0s1dQoKJhdanU@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Vince Weaver @ 2013-07-08 19:49 UTC (permalink / raw)
  To: Michael Kerrisk; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA


I sent this earlier but it might have gotten lost because it was inside of 
a longer discussion thread.

This fixes some typos that have crept into the perf_event_open() manpage.

Signed-off-by: Vince Weaver <vincent.weaver-e7X0jjDqjFGHXe+LvDLADg@public.gmane.org>

diff --git a/man2/perf_event_open.2 b/man2/perf_event_open.2
index 504e801..b64ad90 100644
--- a/man2/perf_event_open.2
+++ b/man2/perf_event_open.2
@@ -1588,7 +1588,7 @@ is the amount of data actually dumped (can be less than
 .I weight
 If
 .B PERF_SAMPLE_WEIGHT
-is enabled, then a 64 bit value provided by the hardwre
+is enabled, then a 64 bit value provided by the hardware
 is recorded that indicates how costly the event was.
 This allows expensive events to stand out more clearly
 in profiles.
@@ -1837,7 +1837,7 @@ Using an argument of 0 is considered undefined behavior.
 .TP
 .B PERF_EVENT_IOC_RESET
 Reset the event count specified by the
-file descriptor argumentto zero.
+file descriptor argument to zero.
 This resets only the counts; there is no way to reset the
 multiplexing
 .I time_enabled
@@ -1852,7 +1852,7 @@ reset, even if the event specified is not the group leader.
 
 If the
 .B PERF_IOC_FLAG_GROUP
-bit is not set, then the behavior is somwhat unexpected:
+bit is not set, then the behavior is somewhat unexpected:
 when sent to a group leader only the leader is reset
 (children are left alone);
 when sent to a child all events in a group are reset.
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: perf_event_open() -- fix a few typos
       [not found] ` <alpine.DEB.2.10.1307081547210.10386-6xBS8L8d439fDsnSvq7Uq4Se7xf15W0s1dQoKJhdanU@public.gmane.org>
@ 2013-07-16  6:48   ` Michael Kerrisk
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk @ 2013-07-16  6:48 UTC (permalink / raw)
  To: Vince Weaver; +Cc: Michael Kerrisk, linux-man-u79uwXL29TY76Z2rM5mHXA

On 07/08/13 21:49, Vince Weaver wrote:
> 
> I sent this earlier but it might have gotten lost because it was inside of 
> a longer discussion thread.
> 
> This fixes some typos that have crept into the perf_event_open() manpage.

I forgo to say that I applied this a few days back. Thanks, Vince.

Cheers,

Michael


> Signed-off-by: Vince Weaver <vincent.weaver-e7X0jjDqjFGHXe+LvDLADg@public.gmane.org>
> 
> diff --git a/man2/perf_event_open.2 b/man2/perf_event_open.2
> index 504e801..b64ad90 100644
> --- a/man2/perf_event_open.2
> +++ b/man2/perf_event_open.2
> @@ -1588,7 +1588,7 @@ is the amount of data actually dumped (can be less than
>  .I weight
>  If
>  .B PERF_SAMPLE_WEIGHT
> -is enabled, then a 64 bit value provided by the hardwre
> +is enabled, then a 64 bit value provided by the hardware
>  is recorded that indicates how costly the event was.
>  This allows expensive events to stand out more clearly
>  in profiles.
> @@ -1837,7 +1837,7 @@ Using an argument of 0 is considered undefined behavior.
>  .TP
>  .B PERF_EVENT_IOC_RESET
>  Reset the event count specified by the
> -file descriptor argumentto zero.
> +file descriptor argument to zero.
>  This resets only the counts; there is no way to reset the
>  multiplexing
>  .I time_enabled
> @@ -1852,7 +1852,7 @@ reset, even if the event specified is not the group leader.
>  
>  If the
>  .B PERF_IOC_FLAG_GROUP
> -bit is not set, then the behavior is somwhat unexpected:
> +bit is not set, then the behavior is somewhat unexpected:
>  when sent to a group leader only the leader is reset
>  (children are left alone);
>  when sent to a child all events in a group are reset.
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-16  6:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-08 19:49 perf_event_open() -- fix a few typos Vince Weaver
     [not found] ` <alpine.DEB.2.10.1307081547210.10386-6xBS8L8d439fDsnSvq7Uq4Se7xf15W0s1dQoKJhdanU@public.gmane.org>
2013-07-16  6:48   ` Michael Kerrisk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).