diff options
author | Nikita V. Shirokov <tehnerd@tehnerd.com> | 2018-11-20 20:55:56 -0800 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-11-21 23:33:21 +0100 |
commit | addb9fc90f13898e7779da54f471792e3dfb0d55 (patch) | |
tree | 980d642f9058eb893b7f689ddf1bb9749a2bd74b /tools/perf/Documentation/perf.data-file-format.txt | |
parent | 5b32a23e1d879b78ee72144311314eccf7581bf4 (diff) |
bpf: adding support for map in map in libbpf
idea is pretty simple. for specified map (pointed by struct bpf_map)
we would provide descriptor of already loaded map, which is going to be
used as a prototype for inner map. proposed workflow:
1) open bpf's object (bpf_object__open)
2) create bpf's map which is going to be used as a prototype
3) find (by name) map-in-map which you want to load and update w/
descriptor of inner map w/ a new helper from this patch
4) load bpf program w/ bpf_object__load
Signed-off-by: Nikita V. Shirokov <tehnerd@tehnerd.com>
Acked-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/perf/Documentation/perf.data-file-format.txt')
0 files changed, 0 insertions, 0 deletions