]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] x86: fix oprofile kernel callgraph regression
authorGerald Britton <gbritton@alum.mit.edu>
Tue, 14 Feb 2006 15:19:04 +0000 (10:19 -0500)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 14 Feb 2006 16:25:29 +0000 (08:25 -0800)
commitf847ea1e284b08e4c529823069c01b222270e80f
tree012781f808f48d80b32e435a4f27b6e8524d0ff0
parentae2a63e20cea7d663774046f085cbd6e0bd7c15c
[PATCH] x86: fix oprofile kernel callgraph regression

Fix x86 oprofile regression introduced by:
  commit 4119a8df2420f51bbbf8d4e63222670b8176a68b
  [PATCH] mm: kill check_user_page_readable

That commit reorganized tests for the userspace stack walking moving all
those tests into dump_backtrace(), however, dump_backtrace() was used for
both userspace and kernel stalk walking.  The result is typically no
recorded callgraph information for kernel samples.

Revive the original function as dump_kernel_backtrace() and rename the
other to dump_user_backtrace() to avoid future confusion.

Signed-off-by: Gerald Britton <gbritton@alum.mit.edu>
Apology-from: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/oprofile/backtrace.c