commit | f5e0d1f9fdae4ca7e184e94c71446b4ccbc39984 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Oct 24 11:55:37 2017 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Oct 24 19:54:25 2017 +0200 |
tree | a786386efac67b88d7ed1c0114442276b890c09e | |
parent | e8f0f1265f1b68578e82ae180c4be55647ad0675 [diff] |
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 74d953c..7b3b131 100755 --- a/contrib/trace/trace.awk +++ b/contrib/trace/trace.awk
@@ -37,7 +37,7 @@ 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] "->"