lkml.org 
[lkml]   [2013]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[PATCH 0/3] tracing: more list_empty(perf_events) checks
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(-)



\
 
 \ /
  Last update: 2013-06-17 20:01    [W:1.210 / U:0.664 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site