]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
tracing: Check return value of tracing_dentry_percpu()
authorNamhyung Kim <namhyung.kim@lge.com>
Mon, 23 Apr 2012 01:11:57 +0000 (10:11 +0900)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 16 May 2012 23:50:37 +0000 (19:50 -0400)
commit0a3d7ce7e6caa8c39cb5184bd9047a01a40abc2a
treec273c4024b2e1f9b8d4701108e05770e8d4515a9
parent308f7eeb7882c27c1d7aa783499cb22f3b199718
tracing: Check return value of tracing_dentry_percpu()

If tracing_dentry_percpu() failed, tracing_init_debugfs_percpu()
will try to create each cpu directories on debugfs' root directory
as d_percpu is NULL.

Link: http://lkml.kernel.org/r/1335143517-2285-1-git-send-email-namhyung.kim@lge.com
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@redhat.com>
Signed-off-by: Namhyung Kim <namhyung.kim@lge.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.c