aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/flamegraph-record
diff options
context:
space:
mode:
authorXichao Zhao <zhao.xichao@vivo.com>2025-08-12 11:16:03 +0800
committerAlex Deucher <alexander.deucher@amd.com>2025-08-15 13:03:21 -0400
commit3e03525ce15cb9fc633b3d0266866020e22ce5e6 (patch)
treefcc1db98f25cc6acc759dca9d7272c086eade0a2 /tools/perf/scripts/python/bin/flamegraph-record
parentdrm/amdgpu: fix task hang from failed job submission during process kill (diff)
downloadlinux-3e03525ce15cb9fc633b3d0266866020e22ce5e6.tar.gz
linux-3e03525ce15cb9fc633b3d0266866020e22ce5e6.zip
drm/radeon: replace min/max nesting with clamp()
The clamp() macro explicitly expresses the intent of constraining a value within bounds.Therefore, replacing min(max(a, b), c) and max(min(a,b),c) with clamp(val, lo, hi) can improve code readability. Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Xichao Zhao <zhao.xichao@vivo.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/flamegraph-record')
0 files changed, 0 insertions, 0 deletions