diff options
author | Wang Nan <[email protected]> | 2016-11-26 07:03:27 +0000 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-11-29 12:10:19 -0300 |
commit | 5a6acad17d2e81765dd4c2fce7346a6f045eab25 (patch) | |
tree | c5ee94f9aec5b8ac2d1b09e7e1b8b28f927a1204 /tools/perf/scripts/python | |
parent | 10931d2413478239bdceac5546cce85d7a497a4e (diff) |
tools lib bpf: Retrive bpf_map through offset of bpf_map_def
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 <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Cc: He Kuang <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Joe Stringer <[email protected]>
Cc: Zefan Li <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions