From: Ian Munsie Date: Thu, 3 Feb 2011 03:27:25 +0000 (+1100) Subject: tracing/syscalls: Early terminate search for sys_ni_syscall X-Git-Tag: v2.6.39-rc1~510^2~63^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae07f551c42d6e4162436ca452a199deac9dab4d;p=pandora-kernel.git tracing/syscalls: Early terminate search for sys_ni_syscall Many system calls are unimplemented and mapped to sys_ni_syscall, but at boot ftrace would still search through every syscall metadata entry for a match which wouldn't be there. This patch adds causes the search to terminate early if the system call is not mapped. Signed-off-by: Ian Munsie LKML-Reference: <1296703645-18718-7-git-send-email-imunsie@au1.ibm.com> Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed