diff options
author | Coco Li <[email protected]> | 2023-11-29 07:27:53 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-12-02 22:24:36 +0000 |
commit | aeb9ce058d7c6193dc41e06b3a5b29d22c446b14 (patch) | |
tree | 3047cfd71da52b78f77f397ae3fbad4abee7267f /tools/perf/scripts/python/check-perf-trace.py | |
parent | 14006f1d8fa24a2320781ad503ca1cba92e940d2 (diff) |
cache: enforce cache groups
Set up build time warnings to safeguard against future header changes of
organized structs.
Warning includes:
1) whether all variables are still in the same cache group
2) whether all the cache groups have the sum of the members size (in the
maximum condition, including all members defined in configs)
The __cache_group* variables are ignored in kernel-doc check in the
various header files they appear in to enforce the cache groups.
Suggested-by: Daniel Borkmann <[email protected]>
Acked-by: Daniel Borkmann <[email protected]>
Signed-off-by: Coco Li <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Reviewed-by: Shakeel Butt <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions