The trace sources are checked at plenty of places in the code and their
contents only change when trace status changes, let's mark them read_mostly.
{ /* end */ }
};
-static struct trace_source trace_fcgi = {
+static struct trace_source trace_fcgi __read_mostly = {
.name = IST("fcgi"),
.desc = "FastCGI multiplexer",
.arg_def = TRC_ARG1_CONN, // TRACE()'s first argument is always a connection
{ /* end */ }
};
-static struct trace_source trace_h1 = {
+static struct trace_source trace_h1 __read_mostly = {
.name = IST("h1"),
.desc = "HTTP/1 multiplexer",
.arg_def = TRC_ARG1_CONN, // TRACE()'s first argument is always a connection
{ /* end */ }
};
-static struct trace_source trace_h2 = {
+static struct trace_source trace_h2 __read_mostly = {
.name = IST("h2"),
.desc = "HTTP/2 multiplexer",
.arg_def = TRC_ARG1_CONN, // TRACE()'s first argument is always a connection
{ /* end */ }
};
-static struct trace_source trace_pt = {
+static struct trace_source trace_pt __read_mostly = {
.name = IST("pt"),
.desc = "Passthrough multiplexer",
.arg_def = TRC_ARG1_CONN, // TRACE()'s first argument is always a connection