From f5e0d1f9fdae4ca7e184e94c71446b4ccbc39984 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Tue, 24 Oct 2017 11:55:37 +0200 Subject: [PATCH] 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. --- contrib/trace/trace.awk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/trace/trace.awk b/contrib/trace/trace.awk index 74d953ccd..7b3b131a3 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] "->"