summaryrefslogtreecommitdiffstats
path: root/include/linux/notifier.h
diff options
context:
space:
mode:
authorSoeren Sandmann2008-05-12 05:28:50 +0200
committerThomas Gleixner2008-05-23 23:59:12 +0200
commitcf3271a73b612a03da00681ecd9bfefab37c74c9 (patch)
treefa4423bf262449aedea54a1145e6b10deefc3bf7 /include/linux/notifier.h
parentsysprof: update copyrights (diff)
downloadkernel-qcow2-linux-cf3271a73b612a03da00681ecd9bfefab37c74c9.tar.gz
kernel-qcow2-linux-cf3271a73b612a03da00681ecd9bfefab37c74c9.tar.xz
kernel-qcow2-linux-cf3271a73b612a03da00681ecd9bfefab37c74c9.zip
ftrace/sysprof: don't trace the user stack if we are a kernel thread.
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. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/notifier.h')
0 files changed, 0 insertions, 0 deletions