tracing, kmemtrace: Make kmem tracepoints use TRACE_EVENT macro
authorZhaolei <zhaolei@cn.fujitsu.com>
Fri, 10 Apr 2009 06:27:38 +0000 (14:27 +0800)
committerIngo Molnar <mingo@elte.hu>
Sun, 12 Apr 2009 13:22:56 +0000 (15:22 +0200)
commitfc182a4330fc22ea1b68fa3d5064dd85a73a4c4a
tree5c3b329199b514fc4133b21928348c901e2c74a8
parent02af61bb50f5d5f0322dbe5ab2a0d75808d25c7b
tracing, kmemtrace: Make kmem tracepoints use TRACE_EVENT macro

TRACE_EVENT is a more generic way to define tracepoints.
Doing so adds these new capabilities to this tracepoint:

  - zero-copy and per-cpu splice() tracing
  - binary tracing without printf overhead
  - structured logging records exposed under /debug/tracing/events
  - trace events embedded in function tracer output and other plugins
  - user-defined, per tracepoint filter expressions

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Acked-by: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
Acked-by: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <49DEE6DA.80600@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/trace/kmem.h
include/trace/kmem_event_types.h [new file with mode: 0644]
include/trace/trace_event_types.h
include/trace/trace_events.h