summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorMathieu Poirier <mathieu.poirier@linaro.org>2019-08-29 22:28:41 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-09-03 22:01:18 +0200
commit3507d231a499e27c4bac8a47169b74ec7ef87292 (patch)
treef9c036ecc04318588a7ce78c4c5f4f4ba6f45133 /fs
parentcoresight: tmc: Make memory width mask computation into a function (diff)
downloadlinux-3507d231a499e27c4bac8a47169b74ec7ef87292.tar.xz
linux-3507d231a499e27c4bac8a47169b74ec7ef87292.zip
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 <mathieu.poirier@linaro.org> Reviewed-by: Leo Yan <leo.yan@linaro.org> Link: https://lore.kernel.org/r/20190829202842.580-17-mathieu.poirier@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions