Re: [RFA][PATCH 5/5] tracepoint: Warn and notify if tracepoints are not loaded due to module taint

From: Steven Rostedt
Date: Thu Feb 27 2014 - 12:06:33 EST


On Thu, 27 Feb 2014 16:33:50 +0000 (UTC)
Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxxxx> wrote:

> > - if (trace_module_has_bad_taint(mod))
> > + if (trace_module_has_bad_taint(mod)) {
> > + pr_err("Module '%s' is tainted, disabling tracepoints\n",
>
> Hrm, I wonder if this message could confuse users into thinking that because
> of this error, tracepoints are disabled across the entire kernel (rather than
> within this module).
>
> I'd recommend the following message instead:
>
> pr_err("Module '%s' is tainted, ignoring its tracepoints\n",
>

Sure. Will update.

-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/