summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2024-02-15 18:40:52 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2024-03-15 14:23:27 +0200
commit3cb1b6956b8e2d9b66840e22286d1a51258fecbf (patch)
treeada0c5ddf3f41e309aa0b93b751491f95ea14e39 /tools/perf/scripts/python/stackcollapse.py
parent2522ed5b6321ca8c97191719eb2c4294c1d0679f (diff)
downloadlinux-3cb1b6956b8e2d9b66840e22286d1a51258fecbf.tar.gz
linux-3cb1b6956b8e2d9b66840e22286d1a51258fecbf.zip
drm/i915: Skip intel_crtc_state_dump() if debugs aren't enabled
intel_crtc_state_dump() does a whole boatload of string formatting which is all wasted energy if the debugs aren't even enabled. Skip the whole thing in that case. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240215164055.30585-10-ville.syrjala@linux.intel.com Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions