aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorRikard Falkeborn <[email protected]>2021-02-24 12:03:05 -0800
committerLinus Torvalds <[email protected]>2021-02-24 13:38:29 -0800
commite48333b660d57898ad6240570084ffa734f64368 (patch)
tree4891a1ae962f526e0b4bad2edfe488a1b982220b /tools/perf/scripts/python/export-to-postgresql.py
parent25eaab438dd58092c5f0c62118d933bf8b2fcc76 (diff)
mm/swap_state: constify static struct attribute_group
The only usage of swap_attr_group is to pass its address to sysfs_create_group() which takes a pointer to const attribute_group. Make it const to allow the compiler to put it in read-only memory. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Rikard Falkeborn <[email protected]> Reviewed-by: Amy Parker <[email protected]> Acked-by: "Huang, Ying" <[email protected]> Reviewed-by: Miaohe Lin <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions