summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorMathieu Poirier <mathieu.poirier@linaro.org>2020-04-21 02:16:01 +0300
committerBjorn Andersson <bjorn.andersson@linaro.org>2020-04-21 05:29:59 +0300
commit226f5db4212438cdfe1a94652d74c6c01788a837 (patch)
tree215c1f147f692801cc7031a71a65a40607db4949 /tools/perf/scripts/python/syscall-counts.py
parentbf860aa176d0104cfbaf863acbadf5548f1172c2 (diff)
downloadlinux-226f5db4212438cdfe1a94652d74c6c01788a837.tar.xz
remoteproc: Get rid of tedious error path
Get rid of tedious error management by moving firmware and operation allocation after calling device_initialize(). That way we take advantage of the automatic call to rproc_type_release() to cleanup after ourselves when put_device() is called. Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Reviewed-by: Alex Elder <elder@linaro.org> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Acked-by: Suman Anna <s-anna@ti.com> Link: https://lore.kernel.org/r/20200420231601.16781-5-mathieu.poirier@linaro.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions