aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2022-01-30 22:02:03 +0100
committerDaniel Lezcano <daniel.lezcano@linaro.org>2022-02-23 19:45:13 +0100
commit7b75bbdf5bedebed387aac6ad8411ed1cf3db5d0 (patch)
tree1971fc02bccf8b14a48b85df14597b628434b5ff /tools/perf/scripts/python
parentb9d6c47a2be8d273ecc063afda6e9fd66a35116d (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')
0 files changed, 0 insertions, 0 deletions