diff options
author | 2015-02-11 15:25:58 -0800 | |
---|---|---|
committer | 2015-02-11 17:06:02 -0800 | |
commit | 0ca44b148ef2596882742dc03ef1c3adcd40f03b (patch) | |
tree | 5bd974396d0348cb6fd03e588302c8cc50716c98 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | vmscan: force scan offline memory cgroups (diff) | |
download | linux-dev-0ca44b148ef2596882742dc03ef1c3adcd40f03b.tar.xz linux-dev-0ca44b148ef2596882742dc03ef1c3adcd40f03b.zip |
memcg: add BUILD_BUG_ON() for string tables
Use BUILD_BUG_ON() to compile assert that memcg string tables are in sync
with corresponding enums. There aren't currently any issues with these
tables. This is just defensive.
Signed-off-by: Greg Thelen <gthelen@google.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions