Re: [PATCH 0/3] tracing: more list_empty(perf_events) checks

From: Steven Rostedt
Date: Wed Jul 17 2013 - 23:00:56 EST


Peter,

These have been discussed, and they mostly live in the tracing
directory, but are perf related. Can you give me your Acked-by on them.

Thanks,

-- Steve


On Mon, 2013-06-17 at 19:01 +0200, Oleg Nesterov wrote:
> Hello.
>
> Steven, we already discussed this a bit some time ago...
>
> DECLARE_EVENT_CLASS()->perf_trace_##call() is not trivial because
> of __perf_task(), but perhaps we can change other
> perf_trace_buf_submit(task => NULL) callers.
>
>
> And can't we factor out WARN_ONCE(size > PERF_MAX_TRACE_SIZE) ?
> See 3/3. I won't argue if you dislike it.
>
> Oleg.
>
> include/trace/ftrace.h | 4 ----
> kernel/trace/trace_event_perf.c | 10 ++++++++--
> kernel/trace/trace_kprobe.c | 6 ------
> kernel/trace/trace_syscalls.c | 24 ++++++++----------------
> kernel/trace/trace_uprobe.c | 2 --
> 5 files changed, 16 insertions(+), 30 deletions(-)


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