Messages in this thread | | | Date | Sat, 12 Sep 2015 10:11:20 +0200 | From | Ingo Molnar <> | Subject | Re: [RFC][PATCH 2/3] perf: Fix u16 overflows |
| |
* Peter Zijlstra <peterz@infradead.org> wrote:
> Vince reported that its possible to overflow the various size fields > and get weird stuff if you stick too many events in a group. > > Put a lid on this by requiring the fixed record size not exceed 16k. > This is still a fair amount of events (silly amount really) and leaves > plenty room for callchains and stack dwarves while also avoiding > overflowing the u16 variables.
Does this leave a natural ABI extension route here, in case in the future it becomes a problem? We should take aside a value to mean 'larger record' or such?
Could we list exactly which fields this concerns, in which structures?
Thanks,
Ingo
| |