All of lore.kernel.org
 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,
	Peter Zijlstra <a.p.zijlstra@chello.nl>,
	Ingo Molnar <mingo@redhat.com>,
	Arnaldo Carvalho de Melo <acme@kernel.org>,
	Stephane Eranian <eranian@google.com>,
	Alexei Starovoitov <ast@plumgrid.com>,
	Steven Rostedt <rostedt@goodmis.org>,
	Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Daniel Borkmann <daniel@iogearbox.net>,
	"David S. Miller" <davem@davemloft.net>,
	Jiri Olsa <jolsa@redhat.com>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Namhyung Kim <namhyung@kernel.org>
Subject: Re: [patch 03/11] perf_event_open.2: 4.1 PERF_EVENT_IOC_SET_BPF support
Date: Wed, 14 Oct 2015 08:27:43 +0200	[thread overview]
Message-ID: <561DF5DF.9050404@gmail.com> (raw)
In-Reply-To: <alpine.DEB.2.20.1507231309330.3742@vincent-weaver-1.umelst.maine.edu>

On 07/23/2015 07:10 PM, Vince Weaver wrote:
> 
> This manpage patch relates to the addition of the
> PERF_EVENT_IOC_SET_BPF ioctl in the following commit:

Thanks, Vince. Applied.

Cheers,

Michael



> 	commit 2541517c32be2531e0da59dfd7efc1ce844644f5
> 	Author: Alexei Starovoitov <ast@plumgrid.com>
>     
> 	tracing, perf: Implement BPF programs attached to kprobes
> 
> 	Signed-off-by: Alexei Starovoitov <ast@plumgrid.com>
> 	Reviewed-by: Steven Rostedt <rostedt@goodmis.org>
> 	Reviewed-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
> 	Cc: Andrew Morton <akpm@linux-foundation.org>
> 	Cc: Arnaldo Carvalho de Melo <acme@infradead.org>
> 	Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
> 	Cc: Daniel Borkmann <daniel@iogearbox.net>
> 	Cc: David S. Miller <davem@davemloft.net>
> 	Cc: Jiri Olsa <jolsa@redhat.com>
> 	Cc: Linus Torvalds <torvalds@linux-foundation.org>
> 	Cc: Namhyung Kim <namhyung@kernel.org>
> 	Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
> 	Cc: Peter Zijlstra <peterz@infradead.org>
> 	Link: http://lkml.kernel.org/r/1427312966-8434-4-git-send-email-ast@plumgrid.com
> 	Signed-off-by: Ingo Molnar <mingo@kernel.org>
> 
> 
> Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
> 
> diff --git a/man2/perf_event_open.2 b/man2/perf_event_open.2
> index a6b90ec..09eda9a 100644
> --- a/man2/perf_event_open.2
> +++ b/man2/perf_event_open.2
> @@ -2570,6 +2570,19 @@ This returns the event ID value for the given event file descriptor.
>  
>  The argument is a pointer to a 64-bit unsigned integer
>  to hold the result.
> +.TP
> +.BR PERF_EVENT_IOC_SET_BPF " (since Linux 4.1)"
> +.\" commit 2541517c32be2531e0da59dfd7efc1ce844644f5
> +This allows attaching a Berkeley Packet Filter (BPF)
> +program to an existing kprobe tracepoint event.
> +You need
> +.B CAP_SYS_ADMIN
> +privileges to use this ioctl.
> +
> +The argument is a BPF program file descriptor that was created by
> +a previous
> +.BR bpf (2)
> +system call.
>  .SS Using prctl
>  A process can enable or disable all the event groups that are
>  attached to it using the
> 


-- 
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:[~2015-10-14  6:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-23 17:10 [patch 03/11] perf_event_open.2: 4.1 PERF_EVENT_IOC_SET_BPF support Vince Weaver
2015-10-14  6:27 ` 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=561DF5DF.9050404@gmail.com \
    --to=mtk.manpages@gmail.com \
    --cc=a.p.zijlstra@chello.nl \
    --cc=acme@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=ast@plumgrid.com \
    --cc=daniel@iogearbox.net \
    --cc=davem@davemloft.net \
    --cc=eranian@google.com \
    --cc=jolsa@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-man@vger.kernel.org \
    --cc=masami.hiramatsu.pt@hitachi.com \
    --cc=mingo@redhat.com \
    --cc=namhyung@kernel.org \
    --cc=rostedt@goodmis.org \
    --cc=torvalds@linux-foundation.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.