]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: trace: include tools.h
authorMiroslav Zagorac <mzagorac@haproxy.com>
Thu, 24 Sep 2020 07:15:46 +0000 (09:15 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 25 Sep 2020 15:54:48 +0000 (17:54 +0200)
commita6aca669b53dc65729f65ea85e0e865c79cf9043
tree38b16761d5a43c593feef63fd02ee41401e62b3e
parent82cd028d712a7cc54be047e1bcfa60fa9379a051
BUILD: trace: include tools.h

If the TRACE option is used when compiling the haproxy source,
the following error occurs on debian 9.13:

src/calltrace.o: In function `make_line':
.../src/calltrace.c:204: undefined reference to `rdtsc'
src/calltrace.o: In function `calltrace':
.../src/calltrace.c:277: undefined reference to `rdtsc'
collect2: error: ld returned 1 exit status
Makefile:866: recipe for target 'haproxy' failed
src/calltrace.c