aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorBaolin Wang <[email protected]>2018-04-08 11:06:57 +0800
committerBjorn Andersson <[email protected]>2018-04-17 14:49:21 -0700
commit1e6c06a7e88c251d8a30271ad5206fbd967a4576 (patch)
tree42921ec0798d2d306cec575c10f7b9317cac9b56 /tools/perf/scripts/python/export-to-postgresql.py
parent66742b19e5e0d01297d355cc445d4920b648821b (diff)
hwspinlock: Introduce one new mode for hwspinlock
In some scenarios, user need do some time-consuming or sleepable operations under the hardware spinlock protection for synchronization between the multiple subsystems. For example, there is one PMIC efuse on Spreadtrum platform, which need to be accessed under one hardware lock. But during the hardware lock protection, the efuse operation is time-consuming to almost 5 ms, so we can not disable the interrupts or preemption so long in this case. Thus we can introduce one new mode to indicate that we just acquire the hardware lock and do not disable interrupts or preemption, meanwhile we should force user to protect the hardware lock with mutex or spinlock to avoid dead-lock. Signed-off-by: Baolin Wang <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions