aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorRikard Falkeborn <[email protected]>2020-11-11 00:02:28 +0100
committerBorislav Petkov <[email protected]>2020-11-19 18:23:45 +0100
commit2002d2951398317d0f46e64ae6d8dd58ed541c6d (patch)
treedd28082b2122907e0e59e46ca3ee41621aa30c1a /tools/perf/scripts/python/bin/export-to-postgresql-report
parent4868a61d498af3627c3b571aa48107a845001e51 (diff)
x86/resctrl: Constify kernfs_ops
The only usage of the kf_ops field in the rftype struct is to pass it as argument to __kernfs_create_file(), which accepts a pointer to const. Make it a pointer to const. This makes it possible to make rdtgroup_kf_single_ops and kf_mondata_ops const, which allows the compiler to put them in read-only memory. Signed-off-by: Rikard Falkeborn <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Acked-by: Reinette Chatre <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions