aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorDafna Hirschfeld <[email protected]>2020-09-22 13:33:51 +0200
committerMauro Carvalho Chehab <[email protected]>2020-09-27 11:32:03 +0200
commitb1b2715e8d616bab68ed4e22b6617601105f2947 (patch)
tree250f217924ef13d93149daaee78a7c94ae376461 /tools/perf/scripts/python/flamegraph.py
parentf6f7d89a1307c6f77824ac57a0d4fc970a7c0862 (diff)
media: staging: rkisp1: params: upon stream stop, iterate a local list to return the buffers
The code in '.stop_streaming' callback releases and acquire the lock at each iteration when returning the buffers. Holding the lock disables interrupts so it should be minimized. To make the code cleaner and still minimize holding the lock, the buffer list is first moved to a local list and then can be iterated without the lock. Signed-off-by: Dafna Hirschfeld <[email protected]> Acked-by: Helen Koike <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions