tracing: Kill unused and puzzled sample code in ftrace.h
authorShan Wei <davidshan@tencent.com>
Sat, 3 Nov 2012 04:38:33 +0000 (12:38 +0800)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 13 Nov 2012 20:51:21 +0000 (15:51 -0500)
commit1c7d66732458dc187008e3f5b2f71e019e320fc2
tree7593a3f3c921902ebff8b75e8600deb6730444e1
parent11043d8b125671a32253cddb0b05177be0e976f6
tracing: Kill unused and puzzled sample code in ftrace.h

When doing per-cpu helper optimizing work, find that this code is so puzzled.
1. It's mark as comment text, maybe a sample function for guidelines
   or a todo work.
2. But, this sample code is odd where struct perf_trace_buf is nonexistent.
   commit ce71b9 delete struct perf_trace_buf definition.

   Author: Frederic Weisbecker <fweisbec@gmail.com>
   Date:   Sun Nov 22 05:26:55 2009 +0100

   tracing: Use the perf recursion protection from trace event

Is it necessary to keep there?
just compile test.

Link: http://lkml.kernel.org/r/50949FC9.6050202@gmail.com
Signed-off-by: Shan Wei <davidshan@tencent.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
include/trace/ftrace.h