aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJike Song <jike.song@intel.com>2017-01-06 15:16:22 +0800
committerZhenyu Wang <zhenyuw@linux.intel.com>2017-01-09 11:11:21 +0800
commit4e5378918b5b96e6b93fcadf1ab84a8486ca60a1 (patch)
treef793fe43b0ddeec4ae80e45cc52ba07d61269f81 /tools/perf/scripts/python/export-to-postgresql.py
parentdrm/i915/gvt: init/destroy vgpu_idr properly (diff)
downloadwireguard-linux-4e5378918b5b96e6b93fcadf1ab84a8486ca60a1.tar.xz
wireguard-linux-4e5378918b5b96e6b93fcadf1ab84a8486ca60a1.zip
drm/i915/gvt: destroy the allocated idr on vgpu creating failures
Once idr_alloc gets called data is allocated within the idr list, if any error occurs afterwards, we should undo that by idr_remove on the error path. Signed-off-by: Jike Song <jike.song@intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions