From: Steven Rostedt (Red Hat) Date: Thu, 1 May 2014 16:44:50 +0000 (-0400) Subject: ftrace: Always inline ftrace_hash_empty() helper function X-Git-Tag: omap-for-v3.16/fixes-against-rc1~80^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68f40969f0173c02ddc22a40df865c81c29070e4;p=pandora-kernel.git ftrace: Always inline ftrace_hash_empty() helper function The ftrace_hash_empty() function is a simple test: return !hash || !hash->count; But gcc seems to want to make it a call. As this is in an extreme hot path of the function tracer, there's no reason it needs to be a call. I only wrote it to be a helper function anyway, otherwise it would have been inlined manually. Force gcc to inline it, as it could have also been a macro. Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed