haproxy/addons/ot/include
Miroslav Zagorac ca09e01a13 DEBUG: opentracing: show return values of all functions in the debug output
If the OpenTracing filter is compiled using the 'OT_DEBUG=1' option, then
log messages are printed to stderr when the filter is running.  In the log
one can then find (among other things) the order in which the function is
called and the value that the function returns (if it is not a void type).

Prior to applying this patch, no value returned by a function was logged.

Log output example:
  [ 1]    0.038807 [OT]: flt_ot_init_per_thread(0x56365bd45ec0, 0x56365bd48210) {
  [ 1]    0.038807 [OT]:    ot_start(0x56365bd58920, 0x56365bd4e3a0, 0x7f561acba168:(nil)) {
  [ 1]    0.038807 [OT]:    } = 0
  [ 1]    0.038807 [OT]: } = 0

This patch must be backported as far as 2.4.
2022-04-08 16:31:33 +02:00
..
cli.h CONTRIB: move contrib/opentracing to addons/ot 2021-04-02 17:48:42 +02:00
conf.h BUG/MEDIUM: opentracing: initialization before establishing daemon and/or chroot mode 2021-06-10 06:45:39 +02:00
config.h CONTRIB: move contrib/opentracing to addons/ot 2021-04-02 17:48:42 +02:00
debug.h DEBUG: opentracing: show return values of all functions in the debug output 2022-04-08 16:31:33 +02:00
define.h CLEANUP: lists/tree-wide: rename some list operations to avoid some confusion 2021-04-21 09:20:17 +02:00
event.h CONTRIB: move contrib/opentracing to addons/ot 2021-04-02 17:48:42 +02:00
filter.h Revert "MINOR: opentracing: change the scope of the variable 'ot.uuid' from 'sess' to 'txn'" 2022-04-08 16:31:33 +02:00
group.h CONTRIB: move contrib/opentracing to addons/ot 2021-04-02 17:48:42 +02:00
http.h CONTRIB: move contrib/opentracing to addons/ot 2021-04-02 17:48:42 +02:00
include.h REORG: time: move time-keeping code and variables to clock.c 2021-10-08 17:22:26 +02:00
opentracing.h BUG/MEDIUM: opentracing: initialization before establishing daemon and/or chroot mode 2021-06-10 06:45:39 +02:00
parser.h BUILD: opentracing: exclude the use of haproxy variables for the OpenTracing context 2021-09-12 07:07:13 +02:00
pool.h CONTRIB: move contrib/opentracing to addons/ot 2021-04-02 17:48:42 +02:00
scope.h CLEANUP: opentracing: use the haproxy function to generate uuid 2021-09-12 07:08:14 +02:00
util.h CONTRIB: move contrib/opentracing to addons/ot 2021-04-02 17:48:42 +02:00
vars.h CLEANUP: opentracing: removed unused function flt_ot_var_get() 2022-04-08 16:31:33 +02:00