From: Willy Tarreau Date: Tue, 24 Oct 2017 09:55:37 +0000 (+0200) Subject: CONTRIB: trace: report the base name only for file names X-Git-Tag: v1.8-rc1~240 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f5e0d1f9fdae4ca7e184e94c71446b4ccbc39984;p=thirdparty%2Fhaproxy.git CONTRIB: trace: report the base name only for file names The output is hard to read when the full path to the sources files is emitted, let's strip it. --- diff --git a/contrib/trace/trace.awk b/contrib/trace/trace.awk index 74d953ccdc..7b3b131a36 100755 --- a/contrib/trace/trace.awk +++ b/contrib/trace/trace.awk @@ -37,7 +37,7 @@ BEGIN { if (prog == "") prog=ENVIRON["PROG"]; - cmd=cmd " -f -e " prog; + cmd=cmd " -f -s -e " prog; for (i = 1; i < 100; i++) { indents[">",i] = indents[">",i-1] "->"