]> git.kaiwu.me - haproxy.git/commit
MINOR: trace: retrieve useful pointers and enforce lock-on
authorWilly Tarreau <w@1wt.eu>
Wed, 21 Aug 2019 15:05:46 +0000 (17:05 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 22 Aug 2019 18:21:00 +0000 (20:21 +0200)
commitd8b99edeed9f93cb06670de543072b6581c4a879
tree88ed2bbc38aa1cf304fc559fd521fc02476bc975
parent60e4c9f8db796b148bf17009b88742810cb03ae7
MINOR: trace: retrieve useful pointers and enforce lock-on

Now we try to find frontend, listener, backend, server, connection,
session, stream, from the presented argument of type connection,
stream or session. Various combinations and bounces allow to
retrieve most of them almost all the time. The extraction is
performed early so that we'll be able to apply filters later.

The lock-on is set if it was not there while the trace is running and
a valid pointer is available. If it was already set and doesn't match,
no trace is produced.
src/trace.c