summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSean Anderson <sean.anderson@linux.dev>2025-02-07 11:25:28 -0500
committerTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2025-02-12 09:44:29 +0200
commit2f2cd4a0595d894ba53d95e2a230032f8615dcdd (patch)
tree3cb6865350afb65abe6be82d3090fe97a740480a /tools/perf/scripts/python/export-to-postgresql.py
parentf887685ee0eb4ef716391355568181230338f6eb (diff)
drm: zynqmp_dp: Use scope-based mutex helpers
Convert most mutex_(un)lock calls to use (scoped_)guard instead. This generally reduces line count and prevents bugs like forgetting to unlock the mutex. I've left traditional calls in a few places where scoped helpers would be more verbose. This mostly happens where debugfs_file_put needs to be called regardless. I looked into defining a CLASS for debugfs_file, but it seems like more effort than it's worth since debugfs_file_get can fail. Signed-off-by: Sean Anderson <sean.anderson@linux.dev> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250207162528.1651426-3-sean.anderson@linux.dev
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions