summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorVincent Mailhol <mailhol@kernel.org>2026-09-08 20:58:26 +0200
committerJens Axboe <axboe@kernel.dk>2026-09-10 14:42:00 -0600
commit74ea55a6ecb3fd69b47b2b8a6f6979a6c79c7ce7 (patch)
treef9646d5935d76c7c581b4253c3e7049b69a414b3 /tools/perf/scripts/python/stackcollapse.py
parentdf2908090cda368b01ff43709f51890076c56157 (diff)
block: store GPT attributes as a raw value
struct _gpt_entry_attributes currently models the GPT partition entry attributes field with bitfields. This is broken on machines using the __BIG_ENDIAN_BITFIELD ABI because GPT always stores the attributes on disk as a 64-bit little-endian. No current code consumes individual fields from that structure. So just remove struct _gpt_entry_attributes entirely and replace it by an __le64 value in struct _gpt_entry instead. This lets users apply endian-aware masks explicitly when inspecting attribute bits. Signed-off-by: Vincent Mailhol <mailhol@kernel.org> Acked-by: Davidlohr Bueso <dave@stgolabs.net> Reviewed-by: Christoph Hellwig <hch@lst.de> Link: https://patch.msgid.link/20260908-fix_gpt_entry_attributes-v1-1-a4dcb417e8fc@kernel.org Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions