diff options
author | Shakeel Butt <[email protected]> | 2024-05-01 10:26:16 -0700 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-05-07 10:37:00 -0700 |
commit | acb5fe2f1aff090ff3d32328f3028c9fb72453ec (patch) | |
tree | c59343ccb98104bd679863c780c4ea8ba0e1933e /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 4715c6a753dccd15fd3a8928168f57e349205bd4 (diff) |
memcg: warn for unexpected events and stats
To reduce memory usage by the memcg events and stats, the kernel uses
indirection table and only allocate stats and events which are being used
by the memcg code. To make this more robust, let's add warnings where
unexpected stats and events indexes are used.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Shakeel Butt <[email protected]>
Reviewed-by: Roman Gushchin <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Muchun Song <[email protected]>
Cc: T.J. Mercier <[email protected]>
Cc: Yosry Ahmed <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions