summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2023-09-20 10:56:39 +0200
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2023-10-02 15:34:32 +0200
commitc31071eabb448c58e0c43d519932af42dfc8f07d (patch)
tree4736d815d0ab7825c5c04f84226d01682f738ac7 /tools/perf/scripts/python/task-analyzer.py
parentd9d5829d457f1fe72f42cc813008eb7a8f789c47 (diff)
gpiolib: extend the critical sections of lookup tables
There are two places in the code where we retrieve a lookup table using gpiod_find_lookup_table() (which protects the table list with the lookup table lock) and then use it after the lock is released. We need to keep the lookup table mutex locked the entire time we're using the tables. Remove the locking from gpiod_find_lookup_table() and use guards to protect the code actually using the table objects. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions