From: Shan Wei Date: Sat, 3 Nov 2012 04:38:33 +0000 (+0800) Subject: tracing: Kill unused and puzzled sample code in ftrace.h X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~77^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c7d66732458dc187008e3f5b2f71e019e320fc2;p=pandora-kernel.git 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 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 Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed