Skip to content
Commit 7e797494 authored by Satyajit Desai's avatar Satyajit Desai
Browse files

coresight-tmc: Re-use ETR buffer across use cases



We can run into use after free scenario for the buffer memory
if enable and read operations happen simultaneously. Add mutex
protection in order to prevent such a scenario.

Change-Id: I3106564a46a9cffc0db8808ba03f78d76c925eca
Signed-off-by: default avatarSatyajit Desai <sadesai@codeaurora.org>
parent 707a2ed2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment