Re: [PATCH 3/3] tracing: Remove leftover FTRACE_ENABLE/DISABLE_MCOUNT enums

From: Valdis . Kletnieks
Date: Wed Sep 15 2010 - 12:11:11 EST


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)

Attachment: pgp00000.pgp
Description: PGP signature