summaryrefslogtreecommitdiff
path: root/src/gallium/tools
diff options
context:
space:
mode:
authorMatti Hamalainen <ccr@tnsp.org>2021-04-20 15:35:54 +0300
committerMarge Bot <eric+marge@anholt.net>2021-05-07 15:48:03 +0000
commit3369a132c4036f6d54bd0f770cf41a34e6cc8eb9 (patch)
treec09d121b6f30ff9acd537bf530a6a1e04d7dfaca /src/gallium/tools
parentd730c18bdbefec3a361da467167099b01f8f5cd5 (diff)
gallium/tools: use left-column output mode of sdiff in tracediff.sh
Enabling --left-column option for sdiff inside tracediff.sh we get output that only shows the differing lines on the right column. This, when used with the -N/--named option should make many trace diffs more understandable. Signed-off-by: Matti Hamalainen <ccr@tnsp.org> Acked-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10648>
Diffstat (limited to 'src/gallium/tools')
-rwxr-xr-xsrc/gallium/tools/trace/tracediff.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/tools/trace/tracediff.sh b/src/gallium/tools/trace/tracediff.sh
index 95ab50d7584..04c33298026 100755
--- a/src/gallium/tools/trace/tracediff.sh
+++ b/src/gallium/tools/trace/tracediff.sh
@@ -88,6 +88,7 @@ strip_dump "$INFILE1" "$FIFO1" "$@" &
strip_dump "$INFILE2" "$FIFO2" "$@" &
sdiff \
+ --left-column \
--width="$(tput cols)" \
--speed-large-files \
"$FIFO1" "$FIFO2" \