diff options
author | Angus Chen <angus.chen@jaguarmicro.com> | 2023-01-05 14:11:23 +0800 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2023-01-26 07:55:53 +0800 |
commit | ebeb49f43c8952f12aa20f03f00d7009edc2d1c5 (patch) | |
tree | 58230d27e01588cc3f61acd37d768787fac89035 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 1b929c02afd37871d5afb9d498426f83432e71c2 (diff) |
ARM: imx: Call ida_simple_remove() for ida_simple_get
The function call ida_simple_get maybe fail,we should deal with it.
And if ida_simple_get success ,it need to call ida_simple_remove also.
BTW,devm_kasprintf can handle id is zero for consistency.
Fixes: e76bdfd7403a ("ARM: imx: Added perf functionality to mmdc driver")
Signed-off-by: Angus Chen <angus.chen@jaguarmicro.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions