diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2023-02-14 03:19:22 +0000 |
---|---|---|
committer | Song Liu <song@kernel.org> | 2023-04-13 22:20:23 -0700 |
commit | 4d72a9de2f002c77267c720ebc5595a17f0d66e9 (patch) | |
tree | fbf1d3868d4b3518e99d6721d23910ff2d743937 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | a405c6f0229526160aa3f177f65e20c86fce84c5 (diff) |
md: make kobj_type structures constant
Since commit ee6d3dd4ed48 ("driver core: make kobj_type constant.")
the driver core allows the usage of const struct kobj_type.
Take advantage of this to constify the structure definitions to prevent
modification at runtime.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20230214-kobj_type-md-v1-1-d6853f707f11@weissschuh.net
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions