aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorZhu Jun <[email protected]>2024-08-28 02:31:29 -0700
committerJonathan Cameron <[email protected]>2024-09-03 18:49:44 +0100
commit3c6b818b097dd6932859bcc3d6722a74ec5931c1 (patch)
tree1867b2ebc7a793dcfcefc31466ac4302884e9256 /tools/perf/util/scripting-engines/trace-event-python.c
parentda83fd152e544c2222b2e098a3ce0f704617eb24 (diff)
tools/iio: Add memory allocation failure check for trigger_name
Added a check to handle memory allocation failure for `trigger_name` and return `-ENOMEM`. Signed-off-by: Zhu Jun <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions