aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorMathieu Poirier <[email protected]>2019-08-29 14:28:41 -0600
committerGreg Kroah-Hartman <[email protected]>2019-09-03 22:01:18 +0200
commit3507d231a499e27c4bac8a47169b74ec7ef87292 (patch)
treef9c036ecc04318588a7ce78c4c5f4f4ba6f45133 /scripts/gcc-plugins/cyc_complexity_plugin.c
parent00bb485ce7b8d1186a5166fc9e38822797fae7d4 (diff)
coresight: tmc-etr: Decouple buffer sync and barrier packet insertion
If less space is available in the perf ring buffer than the ETR buffer, barrier packets inserted in the trace stream by tmc_sync_etr_buf() are skipped over when the head of the buffer is moved forward, resulting in traces that can't be decoded. This patch decouples the process of syncing ETR buffers and the addition of barrier packets in order to perform the latter once the offset in the trace buffer has been properly computed. Signed-off-by: Mathieu Poirier <[email protected]> Reviewed-by: Leo Yan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions