Re: [PATCH v2] tracing/uprobes: Support ftrace_event_file basemultibuffer

From: Oleg Nesterov
Date: Mon Jun 24 2013 - 14:57:35 EST


forgot to mention,

On 06/24, Oleg Nesterov wrote:
>
> > + /*
> > + * Currently TP_FLAG_TRACE/TP_FLAG_PROFILE are mutually exclusive
> > + * for uprobe(filter argument issue), this need to fix in future.
^^^^^^^^^^^^^^^^^^^^^

Just in case, this is not that simple.

For example, suppose that TRACE_REG_REGISTER comes after
TRACE_REG_PERF_REGISTER. In this case we need uprobe_perf_open-like
code to establish nr_systemwide != 0 and do uprobe_apply() if
necessary.

Oleg.

--
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/