lkml.org 
[lkml]   [2015]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH 0/7] perf tools: Config BPF maps through perf cmdline


On 2015/10/18 4:35, Alexei Starovoitov wrote:
> On 10/17/15 3:48 AM, Wang Nan wrote:
>> In these 7 patches:
>>
>> 1. perf is able to put values into map:
>> # perf record -e mybpf.c/maps.values.value=1234/ ...
>>
>> 2. perf is able to control different slots in a map separately:
>> # perf record -e
>> mybpf.c/maps.values.value[1,4-6]=1234,maps.values.value[0,2-3]=5678/ ...
>>
>> 3. The second syntax can be applied to perf event also:
>> # perf record -v -a -e evt=cycles -e
>> mybpf.c/maps.pmu_map.event[0]=evt/ ...
>>
>> 4. Compatible with the old syntax:
>> # perf record -v -a -e evt=cycles -e
>> mybpf.c/maps.pmu_map.event=evt/ ...
>
> The concept looks good and solves real need.
> No opinion on implementation.
>
Can I translate these words into an acked-by?

And what's your PERF_COUNT_SW_BPF_OUTPUT going on? I think based on this
patchset you can test it with perf now.

Thank you.



\
 
 \ /
  Last update: 2015-10-18 02:21    [W:0.149 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site