summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJori Koolstra <jkoolstra@xs4all.nl>2026-03-06 20:06:28 +0100
committerAlex Williamson <alex@shazbot.org>2026-03-16 13:38:50 -0600
commit5efa9a54c6a5f22080f33012c41a94112e955b53 (patch)
tree2a3b5ffaebf0ee2f80cb6b0842beb3dc8c257536 /tools/perf/scripts/python/stackcollapse.py
parentf183963891b4b0126f19aa0993ed931f3f3f9520 (diff)
vfio: replace vfio->class with a const struct class
The class_create() call has been deprecated in favor of class_register() as the driver core now allows for a struct class to be in read-only memory. Replace vfio->class with a const struct class and drop the class_create() call. Compile tested and found no errors/warns in dmesg after enabling VFIO_GROUP. Link: https://lore.kernel.org/all/2023040244-duffel-pushpin-f738@gregkh/ Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Jori Koolstra <jkoolstra@xs4all.nl> Link: https://lore.kernel.org/r/20260306190628.259203-1-jkoolstra@xs4all.nl Signed-off-by: Alex Williamson <alex@shazbot.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions