diff options
author | Yafang Shao <laoar.shao@gmail.com> | 2023-03-05 12:46:15 +0000 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-03-07 09:33:43 -0800 |
commit | 6b4a6ea2c62d34272d64161d43a19c02355576e2 (patch) | |
tree | 33e31263163cc0d003c2942de91b147606a60e38 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 9629363cd05642fe43aded44938adec067ad1da3 (diff) |
bpf: enforce all maps having memory usage callback
We have implemented memory usage callback for all maps, and we enforce
any newly added map having a callback as well. We check this callback at
map creation time. If it doesn't have the callback, we will return
EINVAL.
Signed-off-by: Yafang Shao <laoar.shao@gmail.com>
Link: https://lore.kernel.org/r/20230305124615.12358-19-laoar.shao@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions