diff options
author | Wang Nan <[email protected]> | 2015-11-27 08:47:36 +0000 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-11-27 21:59:53 -0300 |
commit | 561bbccac72d08babafaa33fd7fa9100ec4c9fb6 (patch) | |
tree | b7dd063a6d2acc55d05ebfedf3396fcfbd9640bd /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf | |
parent | 9d759a9b4ac2690077d8b21258e6e95c3e34bfa9 (diff) |
tools lib bpf: Extract and collect map names from BPF object file
This patch collects name of maps in BPF object files and saves them into
'maps' field in 'struct bpf_object'. 'bpf_object__get_map_by_name' is
introduced to retrive fd and definitions of a map through its name.
Signed-off-by: He Kuang <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: He Kuang <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Zefan Li <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Wang Nan <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions