aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorHuang Xiaojia <huangxiaojia2@huawei.com>2024-08-26 23:12:50 +0800
committerWill Deacon <will@kernel.org>2024-08-27 13:48:05 +0100
commit684fbd42d323c9c4a69a905451ea270678e36d1e (patch)
treea24a5b324587753f2bba4d576937438eef560286 /tools/perf/scripts/python/export-to-postgresql.py
parentarm64: smp: smp_send_stop() and crash_smp_send_stop() should try non-NMI first (diff)
downloadlinux-rng-684fbd42d323c9c4a69a905451ea270678e36d1e.tar.xz
linux-rng-684fbd42d323c9c4a69a905451ea270678e36d1e.zip
arm64: Constify struct kobj_type
'struct kobj_type' is not modified. It is only used in kobject_init() which takes a 'const struct kobj_type *ktype' parameter. Constifying this structure moves some data to a read-only section, so increase over all security. On a x86_64, compiled with arm defconfig: Before: ====== text data bss dec hex filename 5602 548 352 6502 1966 arch/arm64/kernel/cpuinfo.o After: ====== text data bss dec hex filename 5650 500 352 6502 1966 arch/arm64/kernel/cpuinfo.o Signed-off-by: Huang Xiaojia <huangxiaojia2@huawei.com> Link: https://lore.kernel.org/r/20240826151250.3500302-1-huangxiaojia2@huawei.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions