Re: [PATCH] ftrace: kill global_start_up

Oleg Nesterov
2014-07-23T19:53:42Z

On 07/23, Steven Rostedt wrote:
>
> On Wed, 23 Jul 2014 20:29:11 +0200
> Oleg Nesterov <oleg@redhat.com> 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.