Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1249460
| From | Alexei Starovoitov <ast@plumgrid.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC PATCH 0/7] perf tools: Config BPF maps through perf cmdline |
| Date | 2015-10-17 22:40 +0200 |
| Message-ID | <qkGqL-8ts-39@gated-at.bofh.it> (permalink) |
| References | <qkxdM-3h1-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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@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 | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[RFC PATCH 0/7] perf tools: Config BPF maps through perf cmdline Wang Nan <wangnan0@huawei.com> - 2015-10-17 13:00 +0200
[RFC PATCH 5/7] perf tools: Support setting different slots in a BPF map separately Wang Nan <wangnan0@huawei.com> - 2015-10-17 13:00 +0200
[RFC PATCH 2/7] perf tools: Add API to apply config to BPF map Wang Nan <wangnan0@huawei.com> - 2015-10-17 13:00 +0200
[RFC PATCH 1/7] perf tools: Add API to config maps in bpf object Wang Nan <wangnan0@huawei.com> - 2015-10-17 13:00 +0200
[RFC PATCH 4/7] perf tools: Enable BPF object configure syntax Wang Nan <wangnan0@huawei.com> - 2015-10-17 13:00 +0200
Re: [RFC PATCH 0/7] perf tools: Config BPF maps through perf cmdline Alexei Starovoitov <ast@plumgrid.com> - 2015-10-17 22:40 +0200
Re: [RFC PATCH 0/7] perf tools: Config BPF maps through perf cmdline Alexei Starovoitov <ast@plumgrid.com> - 2015-10-18 02:10 +0200
Re: [RFC PATCH 0/7] perf tools: Config BPF maps through perf cmdline "Wangnan (F)" <wangnan0@huawei.com> - 2015-10-18 02:10 +0200
csiph-web