aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorMichal Wajdeczko <michal.wajdeczko@intel.com>2025-07-25 11:05:08 +0200
committerMichal Wajdeczko <michal.wajdeczko@intel.com>2025-07-29 17:25:06 +0200
commitd6a0311c37b0955d3b2e15137f40c65c9aeb8f20 (patch)
treed8b5eb6cfe62201c2dc8125443e5a7b4b8a1901a /tools/perf/scripts/python/flamegraph.py
parentdrm/xe/uapi: Add documentation for DRM_XE_GEM_CREATE_FLAG_DEFER_BACKING (diff)
downloadlinux-d6a0311c37b0955d3b2e15137f40c65c9aeb8f20.tar.gz
linux-d6a0311c37b0955d3b2e15137f40c65c9aeb8f20.zip
drm/xe/hw_engine_group: Don't use drm_warn to catch missed case
Since hwe->class is an enumeration we can rely on the compiler to catch any unhandled engine class case at compile time thanks to [-Werror=switch]. Any unexpected use of a special CLASS_MAX enum case can be guarded by our xe_gt_assert() instead, which will be compiled-out on the production builds. Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Cc: Francois Dugast <francois.dugast@intel.com> Cc: Matthew Brost <matthew.brost@intel.com> Reviewed-by: Francois Dugast <francois.dugast@intel.com> Link: https://lore.kernel.org/r/20250725090508.571-1-michal.wajdeczko@intel.com
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions