commit | 267fb27352b6fc9fdbad753127a239f75618ecbc | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <[email protected]> | Fri Oct 30 15:50:32 2020 +0100 |
committer | Peter Zijlstra <[email protected]> | Mon Nov 09 18:12:33 2020 +0100 |
tree | 2f99dd2dedf21e53d329e16cdb615e2c234202bb | |
parent | 7bdb157cdebbf95a1cd94ed2e01b338714075d00 [diff] |
perf: Reduce stack usage of perf_output_begin() __perf_output_begin() has an on-stack struct perf_sample_data in the unlikely case it needs to generate a LOST record. However, every call to perf_output_begin() must already have a perf_sample_data on-stack. Reported-by: Thomas Gleixner <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lkml.kernel.org/r/[email protected]