aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2017-03-28 17:59:02 +0300
committerJani Nikula <jani.nikula@intel.com>2017-04-06 14:33:37 +0300
commitb5c72b207baaa33184b23a5a69603f981aaef0c1 (patch)
tree9e2210dc5a9155741dc2aa93e92ef6e6fca547f7 /tools/perf/scripts/python/stackcollapse.py
parentdrm/i915/dp: use known correct array size in rate_to_index (diff)
drm/i915/dp: return errors from rate_to_index()
We shouldn't silently use the first element if we can't find the rate we're looking for. Make rate_to_index() more generally useful, and fallback to the first element in the caller, with a big warning. Cc: Manasi Navare <manasi.d.navare@intel.com> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Manasi Navare <manasi.d.navare@intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/8a6e83b7bf35da0cbbc703ae157944107ff145be.1490712890.git.jani.nikula@intel.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions