aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2024-08-24 22:28:43 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-03 08:42:45 -0700
commit2e26a761619ed437b1e1b22c27eabdffb708c9f2 (patch)
tree5e4c9d5e7a34ead067549f85776d1817fc89a51b /tools/perf/scripts/python/event_analyzing_sample.py
parentInput: psmouse-smbus - use guard notation when acquiring mutex (diff)
downloadlinux-2e26a761619ed437b1e1b22c27eabdffb708c9f2.tar.gz
linux-2e26a761619ed437b1e1b22c27eabdffb708c9f2.zip
Input: elan_i2c - switch to using cleanup functions
Start using __free() and guard() primitives to simplify the code and error handling. This makes the code more compact and error handling more robust by ensuring that locks are released in all code paths when control leaves critical section and all allocated memory is freed. Link: https://lore.kernel.org/r/ZsrBC7qDbOvAaI-W@google.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions