mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-10 11:32:50 +02:00
MINOR: trace: support -dt optional format
Add an optional argument for "-dt". This argument is interpreted as a list of several trace statement separated by comma. For each statement, a specific trace name can be specifed, or none to act on all sources. Using double-colon separator, it is possible to add specifications on the wanted level and verbosity.
This commit is contained in:
@@ -190,7 +190,7 @@ void trace_no_cb(enum trace_level level, uint64_t mask, const struct trace_sourc
|
||||
|
||||
void trace_register_source(struct trace_source *source);
|
||||
|
||||
int trace_parse_cmd();
|
||||
int trace_parse_cmd(char *arg, char **errmsg);
|
||||
|
||||
/* return a single char to describe a trace state */
|
||||
static inline char trace_state_char(enum trace_state st)
|
||||
|
||||
Reference in New Issue
Block a user