summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2024-12-02 22:03:00 +0300
committerBjorn Helgaas <bhelgaas@google.com>2024-12-10 22:00:50 +0300
commitd5bdde0b38c1d17f39ad6d41d16af33357b329b2 (patch)
tree3be5329a0cbcdf21a60cb71ddbac16d91bd3750e /tools/perf/scripts/python/stackcollapse.py
parent35fdb302caab92f7ee998ff428b0f41c2c3a45f7 (diff)
downloadlinux-d5bdde0b38c1d17f39ad6d41d16af33357b329b2.tar.xz
PCI/ACPI: Constify 'struct bin_attribute'
The sysfs core now allows instances of 'struct bin_attribute' to be moved into read-only memory. Make use of that to protect them against accidental or malicious modifications. Link: https://lore.kernel.org/r/20241202-sysfs-const-bin_attr-pci-v1-4-c32360f495a7@weissschuh.net Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions