aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorRicardo B. Marliere <[email protected]>2024-02-19 16:52:52 -0300
committerWilliam Breathitt Gray <[email protected]>2024-04-02 13:10:34 -0400
commite0363c0706a187b037c06e1f30b2ac0fb44c31c3 (patch)
treefe3b76b8af3157a4b2a8afe2f1d5d999d6536bf5 /tools/perf/scripts/python/stackcollapse.py
parent6b0828ca8bd18315647511dfe731101b6a59de2b (diff)
counter: constify the struct device_type usage
Since commit aed65af1cc2f ("drivers: make device_type const"), the driver core can properly handle constant struct device_type. Move the counter_device_type variable to be a constant structure as well, placing it into read-only memory which can not be modified at runtime. Cc: Greg Kroah-Hartman <[email protected]> Signed-off-by: "Ricardo B. Marliere" <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: William Breathitt Gray <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions