summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-01-02 13:18:08 +0000
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-01-14 11:55:45 +0100
commitee9fa8f302dc1df10583fc043a91003e0a332d1b (patch)
treeaa329917d1f3ed078abc78deb671956a3ffa4475 /tools/perf/scripts/python/stackcollapse.py
parentf3355298fc5a24eb7606448bc02a08b3485e5979 (diff)
ACPI: APEI: EINJ: Use DEFINE_DEBUGFS_ATTRIBUTE for debugfs files
Use DEFINE_DEBUGFS_ATTRIBUTE rather than DEFINE_SIMPLE_ATTRIBUTE for debugfs files to make debugfs_simple_attr.cocci warnings go away. Semantic patch information: Rationale: DEFINE_SIMPLE_ATTRIBUTE + debugfs_create_file() imposes some significant overhead as compared to DEFINE_DEBUGFS_ATTRIBUTE + debugfs_create_file_unsafe(). Generated by: scripts/coccinelle/api/debugfs/debugfs_simple_attr.cocci Signed-off-by: YueHaibing <yuehaibing@huawei.com> Acked-by: Borislav Petkov <bp@suse.de> Signed-off-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