aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorRoman Gushchin <[email protected]>2020-12-01 13:58:58 -0800
committerAlexei Starovoitov <[email protected]>2020-12-02 18:32:47 -0800
commit80ee81e0403c48f4eb342f7c8d40477c89b8836a (patch)
tree12e9a54ccc6c345b03142ac0ddc80fcf7607ad14 /tools/perf/scripts/python/check-perf-trace.py
parentab31be378a63a8bc1868c9890d28b0206f81396e (diff)
bpf: Eliminate rlimit-based memory accounting infra for bpf maps
Remove rlimit-based accounting infrastructure code, which is not used anymore. To provide a backward compatibility, use an approximation of the bpf map memory footprint as a "memlock" value, available to a user via map info. The approximation is based on the maximal number of elements and key and value sizes. Signed-off-by: Roman Gushchin <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Song Liu <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions