linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com>
To: Vince Weaver <vincent.weaver@maine.edu>
Cc: mtk.manpages@gmail.com, linux-man@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Stephane Eranian <eranian@google.com>,
	Peter Zijlstra <peterz@infradead.org>,
	Ingo Molnar <mingo@redhat.com>,
	Arnaldo Carvalho de Melo <acme@kernel.org>
Subject: Re: [patch] perf_event_open.2: add PERF_SAMPLE_BRANCH_CALL branch sample type
Date: Sat, 22 Oct 2016 11:56:12 +0200	[thread overview]
Message-ID: <d47dc0f3-ab1a-2271-847d-2b4be4d60c47@gmail.com> (raw)
In-Reply-To: <alpine.DEB.2.20.1610211653160.12619@macbook-air>

Hi Vince,

On 10/21/2016 10:55 PM, Vince Weaver wrote:
> 
> Linux 4.4 (c229bf9dc179d2023e185c0f705bdf68484c1e73) added
> the PERF_SAMPLE_BRANCH_CALL branch sample type, which confusingly
> is a direct-call only subset of what PERF_SAMPLE_BRANCH_ANY_CALL
> provides.

Thanks. Applied.

Cheers,

Michael


> Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
> 
> diff --git a/man2/perf_event_open.2 b/man2/perf_event_open.2
> index fade28c..8d985b3 100644
> --- a/man2/perf_event_open.2
> +++ b/man2/perf_event_open.2
> @@ -1256,14 +1256,18 @@ following bits must be set.
>  Any branch type.
>  .TP
>  .B PERF_SAMPLE_BRANCH_ANY_CALL
> -Any call branch.
> -.TP
> -.B PERF_SAMPLE_BRANCH_ANY_RETURN
> -Any return branch.
> +Any call branch (includes direct calls, indirect calls, and far jumps).
>  .TP
>  .B PERF_SAMPLE_BRANCH_IND_CALL
>  Indirect calls.
>  .TP
> +.BR PERF_SAMPLE_BRANCH_CALL " (since Linux 4.4)"
> +.\" commit c229bf9dc179d2023e185c0f705bdf68484c1e73
> +Direct calls.
> +.TP
> +.B PERF_SAMPLE_BRANCH_ANY_RETURN
> +Any return branch.
> +.TP
>  .BR PERF_SAMPLE_BRANCH_IND_JUMP " (since Linux 4.2)"
>  .\" commit c9fdfa14c3792c0160849c484e83aa57afd80ccc
>  Indirect jumps.
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/

      reply	other threads:[~2016-10-22  9:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-21 20:55 [patch] perf_event_open.2: add PERF_SAMPLE_BRANCH_CALL branch sample type Vince Weaver
2016-10-22  9:56 ` Michael Kerrisk (man-pages) [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d47dc0f3-ab1a-2271-847d-2b4be4d60c47@gmail.com \
    --to=mtk.manpages@gmail.com \
    --cc=acme@kernel.org \
    --cc=eranian@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-man@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=peterz@infradead.org \
    --cc=vincent.weaver@maine.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).