diff options
| author | Andrii Nakryiko <andriin@fb.com> | 2019-06-17 12:26:53 -0700 |
|---|---|---|
| committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-06-18 00:10:39 +0200 |
| commit | bf82927125dd25003d76ed5541da704df21de57a (patch) | |
| tree | 991f621f7ec18f306ed65911d89212b007c8cbf0 /tools/perf/scripts/python | |
| parent | libbpf: streamline ELF parsing error-handling (diff) | |
| download | linux-bf82927125dd25003d76ed5541da704df21de57a.tar.gz linux-bf82927125dd25003d76ed5541da704df21de57a.zip | |
libbpf: refactor map initialization
User and global data maps initialization has gotten pretty complicated
and unnecessarily convoluted. This patch splits out the logic for global
data map and user-defined map initialization. It also removes the
restriction of pre-calculating how many maps will be initialized,
instead allowing to keep adding new maps as they are discovered, which
will be used later for BTF-defined map definitions.
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
