On Sat, Nov 26, 2016 at 07:03:27AM +, Wang Nan wrote:
> Add a new API to libbpf, caller is able to get bpf_map through the
> offset of bpf_map_def to 'maps' section.
>
> The API will be used to help jitted perf hook code find fd of a map.
>
> Signed-off-by: Wang Nan
...
> +struct bpf_map *
>
Add a new API to libbpf, caller is able to get bpf_map through the
offset of bpf_map_def to 'maps' section.
The API will be used to help jitted perf hook code find fd of a map.
Signed-off-by: Wang Nan
Cc: Arnaldo Carvalho de Melo
Cc: Alexei Starovoitov
Cc: Jiri Olsa
Cc: Zefan Li
Cc: pi3or...
2 matches
Mail list logo