Re: [PATCH 3/3] tracing: Remove leftoverFTRACE_ENABLE/DISABLE_MCOUNT enums

From: Steven Rostedt
Date: Wed Sep 15 2010 - 12:21:32 EST


On Wed, 2010-09-15 at 12:10 -0400, Valdis.Kletnieks@xxxxxx wrote:
> On Tue, 14 Sep 2010 23:01:42 EDT, Steven Rostedt said:
> > From: Steven Rostedt <srostedt@xxxxxxxxxx>
> >
> > The enums for FTRACE_ENABLE_MCOUNT and FTRACE_DISABLE_MCOUNT were
> > used as commands to ftrace_run_update_code(). But these commands
> > were used by the old nasty ftrace daemon that has long been slain.
>
> > - FTRACE_START_FUNC_RET = (1 << 5),
> > - FTRACE_STOP_FUNC_RET = (1 << 6),
> > + FTRACE_START_FUNC_RET = (1 << 3),
> > + FTRACE_STOP_FUNC_RET = (1 << 4),
>
> This renumber isn't visible to user space, correct? (Asking because the enable/
> disable apparently *were* visible to the since-slain userspace daemon)

Nope, it's not visible to userspace, and the slain-daemon was a kernel
thread, not userspace.

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