summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2024-06-16 08:29:53 +0200
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2024-08-28 10:01:10 +0200
commit41eb4fb5d936bfa711020af30fa444776c1a6884 (patch)
treec97a810bf10b7bb54563c986f41bdea1c0bcbcd7 /tools/perf/scripts/python/task-analyzer.py
parent7878d3a385efab560dce793b595447867fb163f2 (diff)
media: mediatek: vcodec: Constify struct vb2_ops
"struct vb2_ops" are not modified in this driver. Constifying this structure moves some data to a read-only section, so increase overall security. On a x86_64, with allmodconfig: Before: ====== text data bss dec hex filename 18059 3096 16 21171 52b3 drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_stateful.o After: ===== text data bss dec hex filename 18171 2968 16 21155 52a3 drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_stateful.o Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Sebastian Fricke <sebastian.fricke@collabora.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions