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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to