public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Wangnan (F)" <wangnan0@huawei.com>
To: Alexei Starovoitov <alexei.starovoitov@gmail.com>,
	"Arnaldo Carvalho de Melo" <acme@kernel.org>,
	Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Cc: Jiri Olsa <jolsa@redhat.com>, <ast@kernel.org>,
	<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] perf test: Add bpf-output event
Date: Thu, 19 Nov 2015 09:37:07 +0800	[thread overview]
Message-ID: <564D27C3.4020200@huawei.com> (raw)
In-Reply-To: <20151118231437.GA78885@ast-mbp.thefacebook.com>



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]


  reply	other threads:[~2015-11-19  1:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-18 19:26 [PATCH] perf test: Add bpf-output event Sukadev Bhattiprolu
2015-11-18 20:50 ` Arnaldo Carvalho de Melo
2015-11-18 23:14   ` Alexei Starovoitov
2015-11-19  1:37     ` Wangnan (F) [this message]
2015-11-19 23:29       ` Sukadev Bhattiprolu
2015-11-20  2:22         ` Wangnan (F)

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=564D27C3.4020200@huawei.com \
    --to=wangnan0@huawei.com \
    --cc=acme@kernel.org \
    --cc=alexei.starovoitov@gmail.com \
    --cc=ast@kernel.org \
    --cc=jolsa@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sukadev@linux.vnet.ibm.com \
    /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