From: Peter Zijlstra Date: Wed, 5 Aug 2009 18:41:04 +0000 (+0200) Subject: ftrace: Fix perf-tracepoint OOPS X-Git-Tag: v2.6.31-rc6~44^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af6af30c0fcd77e621638e53ef8b176bca8bd3b4;p=pandora-kernel.git ftrace: Fix perf-tracepoint OOPS Not all tracepoints are created equal, in specific the ftrace tracepoints are created with TRACE_EVENT_FORMAT() which does not generate the needed bits to tie them into perf counters. For those events, don't create the 'id' file and fail ->profile_enable when their ID is specified through other means. Reported-by: Chris Mason Signed-off-by: Peter Zijlstra Cc: Steven Rostedt LKML-Reference: <1249497664.5890.4.camel@laptop> [ v2: fix build error in the !CONFIG_EVENT_PROFILE case ] Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed