summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSatyajit Desai <sadesai@codeaurora.org>2016-12-02 17:13:27 -0800
committerSatyajit Desai <sadesai@codeaurora.org>2016-12-05 16:38:49 -0800
commit9d9a22ef619525f1cdc3a786c6e8880c921a8711 (patch)
tree6f862582c2f42d4254ffaa9473c3ac89fa575b69 /tools/perf/scripts/python
parenta27b2f17890884a05b18ae69c7eae079cdde4b16 (diff)
coresight: stm: Remove spin lock usage for channel allocation
Current usage of spinlock in channel allocation might result in live lock issue. In order to avoid this we move to a per cpu channel allocation scheme. We rely on preemption being disabled when we allocate channel to avoid any conflict. If we end up handling an interrupt which logs when preemption is disabled it is still gauranteed to not interfere with the current logging as the channel id will be freed up before resuming. Change-Id: Ia343890dfd9bded84db75e8b13ad1860dec1bbcd Signed-off-by: Satyajit Desai <sadesai@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions