lkml.org 
[lkml]   [2015]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] perf test: Add bpf-output event


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]



\
 
 \ /
  Last update: 2015-11-19 03:01    [W:0.063 / U:2.584 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site