Re: [PATCH] ftrace: kill global_start_up

From: Oleg Nesterov
Date: Wed Jul 23 2014 - 15:54:00 EST


On 07/23, Steven Rostedt wrote:
>
> On Wed, 23 Jul 2014 20:29:11 +0200
> Oleg Nesterov <oleg@xxxxxxxxxx> wrote:
>
> > Thanks for your report Steven, I updated my ~/people-i-hate file.
>
> Is that for me or Namhyung? Silly question, it has to be for Namhyung,
> as I'm sure I'm one of the first people already in that list.

Sure, you are already listed more than once.

> > probably even event_context_switch... I'll recheck and send the patch.

This one is used by probe_wakeup_sched_switch(), so we can't simply
remove it.

> > But what a user can do with other files? You obviously can't enable, say,
> > ftrace/bputs, if I understand correctly this is for trace_puts().
> >
>
> Yeah, as trace_printk() can turn into a trace_puts() we still want
> those to be read by trace-cmd. To do that, the formats for those files
> are exported.

Ah, indeed, thanks.

> See kernel/trace/trace_export.c and trace_entries.h

Yeeees, I already found them. And this wasn't easy ;)

Thanks,

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/