aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJon Bloomfield <jon.bloomfield@intel.com>2018-09-27 10:23:17 -0700
committerJon Bloomfield <jon.bloomfield@intel.com>2019-11-05 11:37:54 -0800
commit0546a29cd884fb8184731c79ab008927ca8859d0 (patch)
tree43bfcd52bc33f7ce95a871075acc4447e8f7e7ad /tools/perf/scripts/python/export-to-postgresql.py
parentdrm/i915: Add gen9 BCS cmdparsing (diff)
downloadlinux-rng-0546a29cd884fb8184731c79ab008927ca8859d0.tar.xz
linux-rng-0546a29cd884fb8184731c79ab008927ca8859d0.zip
drm/i915/cmdparser: Use explicit goto for error paths
In the next patch we will be adding a second valid termination condition which will require a small amount of refactoring to share logic with the BB_END case. Refactor all error conditions to jump to a dedicated exit path, with 'break' reserved only for a successful parse. Cc: Tony Luck <tony.luck@intel.com> Cc: Dave Airlie <airlied@redhat.com> Cc: Takashi Iwai <tiwai@suse.de> Cc: Tyler Hicks <tyhicks@canonical.com> Signed-off-by: Jon Bloomfield <jon.bloomfield@intel.com> Reviewed-by: Chris Wilson <chris.p.wilson@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions