]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ftrace: Narrow down the protected area of graph_lock
authorNamhyung Kim <namhyung.kim@lge.com>
Mon, 14 Oct 2013 08:24:25 +0000 (17:24 +0900)
committerSteven Rostedt <rostedt@goodmis.org>
Sat, 19 Oct 2013 02:20:33 +0000 (22:20 -0400)
commit6a10108bdbbfb66e5c431fd1056534e9717d34eb
treea9d30739ba6bcf62c19418759c4c679e008ae258
parentfaf982a60f7c985808f761cff5d508f21c691790
ftrace: Narrow down the protected area of graph_lock

The parser set up is just a generic utility that uses local variables
allocated by the function. There's no need to hold the graph_lock for
this set up.

This also makes the code simpler.

Link: http://lkml.kernel.org/r/1381739066-7531-4-git-send-email-namhyung@kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/ftrace.c