diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2022-01-30 22:02:03 +0100 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2022-02-23 19:45:13 +0100 |
commit | 7b75bbdf5bedebed387aac6ad8411ed1cf3db5d0 (patch) | |
tree | 1971fc02bccf8b14a48b85df14597b628434b5ff /tools/perf/scripts/python/stackcollapse.py | |
parent | b9d6c47a2be8d273ecc063afda6e9fd66a35116d (diff) |
powercap/dtpm: Change locking scheme
The different functions are all called through the
dtpm_create_hierarchy() which handle the mutex. The different
functions are used in this context, consequently with the lock always
held.
Remove all locks taken in the function and add the lock in the
hierarchy creation function.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Link: https://lore.kernel.org/r/20220130210210.549877-1-daniel.lezcano@linaro.org
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions