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


Groups > linux.kernel > #1272737

Re: [PATCH] perf test: Add bpf-output event

From "Wangnan (F)" <wangnan0@huawei.com>
Newsgroups linux.kernel
Subject Re: [PATCH] perf test: Add bpf-output event
Date 2015-11-19 02:40 +0100
Message-ID <qwmmC-2DM-15@gated-at.bofh.it> (permalink)
References <qwgAy-7es-9@gated-at.bofh.it> <qwhZE-8au-3@gated-at.bofh.it> <qwkb7-1kY-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On 2015/11/19 7:14, Alexei Starovoitov wrote:
> On Wed, Nov 18, 2015 at 05:50:39PM -0300, Arnaldo Carvalho de Melo wrote:
>> Em Wed, Nov 18, 2015 at 11:26:04AM -0800, Sukadev Bhattiprolu escreveu:
>>> >From 8f71d55dd3e27e6ca2138e3ed6dfeceb1c00a426 Mon Sep 17 00:00:00 2001
>>> From: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
>>> Date: Wed, 18 Nov 2015 19:06:08 -0500
>>> Subject: [PATCH] perf test: Add bpf-output event
>>>
>>> The kernel has added support for 'PERF_COUNT_SW_BPF_OUTPUT' but that is
>>> missing from the perf tool. Among other things, results in the 'roundtrip
>>> evsel->name check' test case of 'perf test' failing on Powerpc.
>> Next time can you please state if this is for this merge window or for
>> the next?
>>
>> Will apply it for perf/core, for the next merge window.
> wait a sec, I believe Wang has posted an RFC a month ago that adds support
> for this properly instead of simply shutting up the error.

Yes. Please have a look at

http://lkml.kernel.org/g/1446029705-199659-3-git-send-email-wangnan0@huawei.com

and patch 23/31 - 31/31 in

http://lkml.kernel.org/g/1444826502-49291-1-git-send-email-wangnan0@huawei.com

We are working on a solution which truly utilizes bpf-output, including
filling event array and extracting BPF output through perf data to CTF
format. Now they are separated in multiple patchset, and I'd like to
resend them to Arnaldo in this week.

Thank you.

[SNIP]

--
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] perf test: Add bpf-output event Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> - 2015-11-18 20:30 +0100
  Re: [PATCH] perf test: Add bpf-output event Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-11-18 22:00 +0100
    Re: [PATCH] perf test: Add bpf-output event Alexei Starovoitov <alexei.starovoitov@gmail.com> - 2015-11-19 00:20 +0100
      Re: [PATCH] perf test: Add bpf-output event "Wangnan (F)" <wangnan0@huawei.com> - 2015-11-19 02:40 +0100
        Re: [PATCH] perf test: Add bpf-output event Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> - 2015-11-20 00:40 +0100
          Re: [PATCH] perf test: Add bpf-output event "Wangnan (F)" <wangnan0@huawei.com> - 2015-11-20 03:30 +0100

csiph-web