diff options
| author | Andrii Nakryiko <[email protected]> | 2019-06-17 12:26:53 -0700 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2019-06-18 00:10:39 +0200 |
| commit | bf82927125dd25003d76ed5541da704df21de57a (patch) | |
| tree | 991f621f7ec18f306ed65911d89212b007c8cbf0 /tools/perf/scripts/python | |
| parent | 01b29d1dc9a06e2cdc6a0172d35605eb0300ecb2 (diff) | |
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 <[email protected]>
Acked-by: Song Liu <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions