Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix type of default key when creating BPF maps
The default key (0) used to populate various BPF maps was declared as uint32_t. but the 'dvars' BPF map uses a uint64_t key. Since we know that the value of the key will always be 0, it is safe to just make it uint64_t for all maps, and have it be interpreted as uint32_t for the maps that use a smaller key size. Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com> Reviewed-by: Eugene Loh <eugene.loh@oracle.com>
- Loading branch information