summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2024-08-25 08:16:09 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-09-06 08:53:20 +0300
commit43a365abaf47539f065f6c7890e5433ef10f7381 (patch)
tree86ee7f912387f280ac564128d6e68b646bffa647 /tools/perf/scripts/python/export-to-postgresql.py
parent934976f61eceab661cce492831448e01d1b89e4b (diff)
downloadlinux-43a365abaf47539f065f6c7890e5433ef10f7381.tar.xz
Input: gpio-keys - 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. Reviewed-by: Hans de Goede <hdegoede@redhat.com> Link: https://lore.kernel.org/r/20240825051627.2848495-6-dmitry.torokhov@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions