Re: [RFC PATCH 09/22] perf bpf: collect map definitions.

2015-05-10 Thread Namhyung Kim
On Thu, Apr 30, 2015 at 10:52:32AM +, Wang Nan wrote: > If maps are used by eBPF programs, corresponding object file(s) should > contain a section named 'map'. Which contains map definitions, one for > each map to describe its format. 'struct perf_bpf_map_def' is > introduced as part of protoco

[RFC PATCH 09/22] perf bpf: collect map definitions.

2015-04-30 Thread Wang Nan
If maps are used by eBPF programs, corresponding object file(s) should contain a section named 'map'. Which contains map definitions, one for each map to describe its format. 'struct perf_bpf_map_def' is introduced as part of protocol between perf and eBPF programs. All map definitions are copied t