aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
diff options
context:
space:
mode:
authorIvan Orlov <[email protected]>2023-06-20 16:37:58 +0200
committerGreg Kroah-Hartman <[email protected]>2023-06-23 10:27:20 +0200
commit11680fdf29cec560987fc8f6d290a5bfdb73e4e4 (patch)
tree3f753069991341bfbf6c475232c9e618d7d08f58 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
parent98ab58a7a0b08be3f5ebdcb44fdf49127f749970 (diff)
virtio_console: make port class a static const structure
Now that the driver core allows for struct class to be in read-only memory, remove the class field of the ports_driver_data structure and create the port_class static class structure declared at build time which places it into read-only memory, instead of having it to be dynamically allocated at load time. Cc: Amit Shah <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: [email protected] Suggested-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Ivan Orlov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions