Re: [PATCH] ftrace/sysprof: Don't trace the user stack if we are akernel thread.
From: Ingo Molnar
Date: Tue May 13 2008 - 09:53:24 EST
* Soeren Sandmann <sandmann@xxxxxxxxxxx> wrote:
> Check that current->mm is non-NULL before attempting to trace the user
> stack.
>
> Also take depth of the kernel stack into account when comparing
> against sample_max_depth.
applied, thanks.
(Please also add a Signed-off-by patch to future patches.)
Ingo
--
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/