Posted Sep 25, 2013 3:19 UTC (Wed) by deater (subscriber, #11746)
In reply to: Good one by ncm
Parent article: A perf ABI fix
The perf_event interface is full of bitfields for reasons I don't fully understand.
To make things more fun, there are proposals in the works to export the bit offsets in these bitfields (specifically the ones in struct perf_event_attr) via /sys so that the kernel can export event configs to the perf tool more "efficiently". I personally think this will only end in tears. Especially once endianess is factored in.