mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-14 09:46:10 +02:00
MEDIUM: mux_quic: rename qmux traces to qcm
This patch is part of a renaming affecting mux_quic and related files. Naming "qcm" will become the new marker for common mux_quic stuffs, shared both on QUIC and QMux protocols. The final objective is to limit "qmux" naming for stuffs related to the new experimental protocol of the same name. The current patch renames mux_quic traces token to "qcm". This is the only change with external visible impacts in the whole renaming series. However, to preserve compatibility, trace source alias is defined with the older name "qmux". This relies on the previous patch which introduced "alias" new trace_source member.
This commit is contained in:
parent
8e1b46f8d7
commit
c090e51502
@ -16,6 +16,6 @@ traces
|
||||
trace applet verbosity complete start now
|
||||
trace h3 start now
|
||||
trace quic start now
|
||||
trace qmux start now
|
||||
trace qcm start now
|
||||
trace peers start now
|
||||
.endif
|
||||
|
||||
@ -56,7 +56,7 @@ static const char *haterm_cfg_traces_str =
|
||||
"\ttrace h1 sink stderr level user start now verbosity minimal\n"
|
||||
"\ttrace h2 sink stderr level user start now verbosity minimal\n"
|
||||
"\ttrace h3 sink stderr level user start now verbosity minimal\n"
|
||||
"\ttrace qmux sink stderr level user start now verbosity minimal\n";
|
||||
"\ttrace qcm sink stderr level user start now verbosity minimal\n";
|
||||
|
||||
/* Very small API similar to buffer API to carefully build some strings */
|
||||
#define HBUF_NULL ((struct hbuf) { })
|
||||
|
||||
@ -35,7 +35,8 @@ static const struct name_desc qcm_trace_decoding[] = {
|
||||
};
|
||||
|
||||
struct trace_source trace_qcm = {
|
||||
.name = IST("qmux"),
|
||||
.name = IST("qcm"),
|
||||
.alias = IST("qmux"),
|
||||
.desc = "QUIC multiplexer",
|
||||
.arg_def = TRC_ARG1_CONN, /* TRACE()'s first argument is always a connection */
|
||||
.default_cb = qcm_trace,
|
||||
@ -129,7 +130,7 @@ static void qcm_trace_fill_ctx(struct trace_ctx *ctx, const struct trace_source
|
||||
}
|
||||
|
||||
|
||||
/* register qmux traces */
|
||||
/* register qcm traces */
|
||||
INITCALL1(STG_REGISTER, trace_register_source, TRACE_SOURCE);
|
||||
|
||||
static char *qcc_app_st_to_str(const enum qcc_app_st st)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user