Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1215641

Re: [PATCH 32/32] bpf: Introduce function for outputing data to perf event

From Alexei Starovoitov <ast@plumgrid.com>
Newsgroups linux.kernel
Subject Re: [PATCH 32/32] bpf: Introduce function for outputing data to perf event
Date 2015-08-29 03:40 +0200
Message-ID <q2DhD-3Tb-1@gated-at.bofh.it> (permalink)
References <q2lXr-4sW-3@gated-at.bofh.it> <q2lXs-4sW-23@gated-at.bofh.it> <q2Cvf-2JO-3@gated-at.bofh.it> <q2D7Y-3I2-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 8/28/15 6:19 PM, Wangnan (F) wrote:
> For me, I use bpf_output_trace_data() to output information like PMU count
> value. Perf is the only receiver, so global collector is perfect. Could you
> please describe your usecase in more detail?

there is a special receiver in user space that only wants the data from
the bpf program that it loaded. It shouldn't conflict with any other
processes. Like when it's running, I still should be able to use perf
for other performance analysis. There is no way to share single
bpf:bpf_output_data event, since these user processes are completely
independent.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 32/32] bpf: Introduce function for outputing data to perf event Wang Nan <wangnan0@huawei.com> - 2015-08-28 09:10 +0200
  Re: [PATCH 32/32] bpf: Introduce function for outputing data to perf  event Alexei Starovoitov <ast@plumgrid.com> - 2015-08-29 02:50 +0200
    Re: [PATCH 32/32] bpf: Introduce function for outputing data to perf  event "Wangnan (F)" <wangnan0@huawei.com> - 2015-08-29 03:30 +0200
      Re: [PATCH 32/32] bpf: Introduce function for outputing data to perf  event Alexei Starovoitov <ast@plumgrid.com> - 2015-08-29 03:40 +0200
        Re: [PATCH 32/32] bpf: Introduce function for outputing data to perf  event "Wangnan (F)" <wangnan0@huawei.com> - 2015-08-29 04:20 +0200
          Re: [PATCH 32/32] bpf: Introduce function for outputing data to perf  event Alexei Starovoitov <ast@plumgrid.com> - 2015-08-29 04:30 +0200
            Re: [PATCH 32/32] bpf: Introduce function for outputing data to perf  event "Wangnan (F)" <wangnan0@huawei.com> - 2015-08-29 04:40 +0200
              Re: [PATCH 32/32] bpf: Introduce function for outputing data to perf  event Alexei Starovoitov <ast@plumgrid.com> - 2015-08-29 05:00 +0200
                Re: [PATCH 32/32] bpf: Introduce function for outputing data to perf  event "Wangnan (F)" <wangnan0@huawei.com> - 2015-08-29 05:00 +0200

csiph-web