Re: [PATCH] x86: fix oprofile kernel callgraph regression

From: Hugh Dickins
Date: Tue Feb 14 2006 - 10:55:45 EST


On Tue, 14 Feb 2006, Gerald Britton wrote:

> Fix x86 oprofile regression introduced by:
> commit c34d1b4d165c67b966bca4aba026443d7ff161eb
> [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@xxxxxxxxxxxx>

Apology-from: Hugh Dickins <hugh@xxxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/