diff options
author | Peter Zijlstra <peterz@infradead.org> | 2020-10-30 16:58:48 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2020-11-09 20:12:33 +0300 |
commit | 9dfa9a5c9bae3417b87824e7ac73b00c10b6a874 (patch) | |
tree | 2c36d0070f18e59ff947b56b4ca53ffad5be1744 /kernel/events/internal.h | |
parent | 267fb27352b6fc9fdbad753127a239f75618ecbc (diff) |
perf/x86: Reduce stack usage for x86_pmu::drain_pebs()
intel_pmu_drain_pebs_*() is typically called from handle_pmi_common(),
both have an on-stack struct perf_sample_data, which is *big*. Rewire
things so that drain_pebs() can use the one handle_pmi_common() has.
Reported-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20201030151955.054099690@infradead.org
Diffstat (limited to 'kernel/events/internal.h')
0 files changed, 0 insertions, 0 deletions