summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2026-07-07 18:56:32 +0200
committerDanilo Krummrich <dakr@kernel.org>2026-07-11 20:38:01 +0200
commit418a74d106ef4fe08fe9eb239e8b9717b3d79ca4 (patch)
tree92b4c71844fed332abef2e3b794eea1a123d23fb /tools/perf/scripts/python/libxed.py
parent8b29d0b45266619533b5bc3c99a65ef96d01814f (diff)
kobject: Provide macros to initialize 'struct kobj_attribute'
Currently the generic __ATTR*() macros are used to initialize kobject attributes. These are not able to handle the upcoming piece-by-piece constification of the attribute callback handlers. Add dedicated macros of kobject attributes. For now these are the same as the generic macros, but they will change soon. Users will be converted to these macros as part of the constification, but it is expected that they will be used generally in the future. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Link: https://patch.msgid.link/20260707-sysfs-const-attr-kobj-attr-prep-v2-1-35ae1bc0f9ef@weissschuh.net Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions