commit | 7e7974949d0479b65e693f6e6c35c319e8adfcfa | [log] [tgz] |
---|---|---|
author | Satyajit Desai <sadesai@codeaurora.org> | Thu Jun 01 18:41:33 2017 -0700 |
committer | Satyajit Desai <sadesai@codeaurora.org> | Tue Jun 06 17:26:05 2017 -0700 |
tree | 8417f287b87c04a6baa9700ea5aa2741f310d18d | |
parent | 707a2ed242e88071aa7b6e16c52c7b39670db348 [diff] |
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: Satyajit Desai <sadesai@codeaurora.org>