[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5622B101.9070404@plumgrid.com>
Date: Sat, 17 Oct 2015 13:35:13 -0700
From: Alexei Starovoitov <ast@...mgrid.com>
To: Wang Nan <wangnan0@...wei.com>, acme@...nel.org,
brendan.d.gregg@...il.com
Cc: a.p.zijlstra@...llo.nl, daniel@...earbox.net, dsahern@...il.com,
hekuang@...wei.com, jolsa@...nel.org, lizefan@...wei.com,
masami.hiramatsu.pt@...achi.com, namhyung@...nel.org,
paulus@...ba.org, linux-kernel@...r.kernel.org, pi3orama@....com,
xiakaixu@...wei.com
Subject: Re: [RFC PATCH 0/7] perf tools: Config BPF maps through perf cmdline
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists