perf/x86/intel/pt: Fix stop/start with no update
Status from this message: The following commit has been merged into the perf/core branch of tip:
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | perf/x86/intel/pt: Factor out pt_config_enable()arch/ | +24 | 0 replies | |
| 2/3 | perf/x86/intel/pt: Use bitwise access for PERF_HES_STOPPEDarch/ | +8 | 0 replies | |
| 3/3 | perf/x86/intel/pt: Fix stop/start with no updatearch/ | +36 | 0 replies |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by.
| Patch | Yi Lai |
|---|---|
| Series | T-b |
| 1/3 | |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] perf/x86/intel/pt: Fix stop/start with no update
Hi
Here is a fix for Intel PT.
There are 2 preparatory patches with no functional change intended.
The fix is to prevent nesting of perf_aux_output_begin() which triggers the WARNING in perf_aux_output_begin():
nest = READ_ONCE(rb->aux_nest); /* * Nesting is not supported for AUX area, make sure nested * writers are caught early */ if (WARN_ON_ONCE(nest)) goto err_put;
The nesting happens when Intel PT gets throttled. See the patch for more details.
Adrian Hunter (3):
perf/x86/intel/pt: Factor out pt_config_enable() perf/x86/intel/pt: Use bitwise access for PERF_HES_STOPPED perf/x86/intel/pt: Fix stop/start with no update
arch/x86/events/intel/pt.c | 96 +++++++++++++++++++++++++++++++--------------- 1 file changed, 65 insertions(+), 31 deletions(-)
Regards
Adrian