projects
/
haproxy-3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8f0f12
)
CONTRIB: trace: report the base name only for file names
author
Willy Tarreau
<w@1wt.eu>
Tue, 24 Oct 2017 09:55:37 +0000
(11:55 +0200)
committer
Willy Tarreau
<w@1wt.eu>
Tue, 24 Oct 2017 17:54:25 +0000
(19:54 +0200)
The output is hard to read when the full path to the sources files is
emitted, let's strip it.
contrib/trace/trace.awk
patch
|
blob
|
history
diff --git
a/contrib/trace/trace.awk
b/contrib/trace/trace.awk
index
74d953c
..
7b3b131
100755
(executable)
--- 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] "->"