aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorJani Nikula <[email protected]>2022-03-03 20:19:27 +0200
committerJani Nikula <[email protected]>2022-03-04 11:15:00 +0200
commit69e807a5a9ffe595853277cb00d7d3fdd583b0fa (patch)
tree476e79234b82b2becd90e1dfb0b6598c1e8fe415 /tools/perf/scripts/python/flamegraph.py
parent8d80cceecdd98de6d2281d39d6571a1fe08e5af9 (diff)
drm/i915/gmbus: combine gmbus pin lookups to one function
Combine the platform specific if ladders for array lookup and size checks into one. This is cleaner and avoids duplication, but hopefully also helps any static analyzers that seem to have trouble with the bounds checks. Signed-off-by: Jani Nikula <[email protected]> Reviewed-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions