Re: [PATCH] perf/arch: Remove perf_sample_data::regs_user_copy

2020-10-30 Thread Steven Rostedt
On Fri, 30 Oct 2020 11:59:17 +0100 Peter Zijlstra wrote: > On Fri, Oct 30, 2020 at 11:26:01AM +0100, Thomas Gleixner wrote: > > What's worse is perf_sample_data which is 384 bytes and is 64 bytes > > aligned. > > Here; this shrinks it to 192 bytes. Combined with the static dummy this >

[PATCH] perf/arch: Remove perf_sample_data::regs_user_copy

2020-10-30 Thread Peter Zijlstra
On Fri, Oct 30, 2020 at 11:26:01AM +0100, Thomas Gleixner wrote: > What's worse is perf_sample_data which is 384 bytes and is 64 bytes aligned. Here; this shrinks it to 192 bytes. Combined with the static dummy this should reduce stack usage by 360 bytes. --- Subject: perf/arch: Remove