01 Nov, 2011
1 commit
-
These files are not modules, but were including module.h only for
EXPORT_SYMBOL and/or THIS_MODULE. Now that we have the lightweight
export.h, use it in these kinds of cases.Signed-off-by: Paul Gortmaker
04 Aug, 2009
1 commit
-
They tend to get not updated when files are moved around or copied and
lack any obvious use. While at it zap some only too obvious comments and
as per Shinya's suggestion, add a copyright header to extable.c.Signed-off-by: Ralf Baechle
Acked-by: Shinya Kuribayashi
Acked-by: Thadeu Lima de Souza Cascardo
05 Jan, 2009
1 commit
-
/proc/*/stack adds the ability to query a task's stack trace. It is more
useful than /proc/*/wchan as it provides full stack trace instead of single
depth. Example output:$ cat /proc/self/stack
[] save_stack_trace_tsk+0x17/0x35
[] proc_pid_stack+0x4a/0x76
[] proc_single_show+0x4a/0x5e
[] seq_read+0xf3/0x29f
[] vfs_read+0x6d/0x91
[] sys_read+0x3b/0x60
[] syscall_call+0x7/0xb
[] 0xffffffff[add save_stack_trace_tsk() on mips, ACK Ralf --adobriyan]
Signed-off-by: Ken Chen
Signed-off-by: Ingo Molnar
Signed-off-by: Alexey Dobriyan
23 Jul, 2008
1 commit
-
Signed-off-by: Andrew Morton
Signed-off-by: Ingo Molnar
18 Jul, 2008
1 commit
-
Fixes this type of problem:
CC arch/s390/kernel/stacktrace.o
arch/s390/kernel/stacktrace.c:84: warning: data definition has no type or storage class
arch/s390/kernel/stacktrace.c:84: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
arch/s390/kernel/stacktrace.c:84: warning: parameter names (without types) in function declaration
arch/s390/kernel/stacktrace.c:97: warning: data definition has no type or storage class
arch/s390/kernel/stacktrace.c:97: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
arch/s390/kernel/stacktrace.c:97: warning: parameter names (without types) in function declarationcaused by "stacktrace: export save_stack_trace[_tsk]"
Signed-off-by: Heiko Carstens
Cc: Stephen Rothwell
Cc: Linus Torvalds
Cc: Andrew Morton
Signed-off-by: Ingo Molnar
03 Jul, 2008
1 commit
-
Andrew Morton reported this against linux-next:
ERROR: ".save_stack_trace" [tests/backtracetest.ko] undefined!
Reported-by: Andrew Morton
Signed-off-by: Ingo Molnar
09 May, 2007
1 commit
-
Simplify the stacktrace code:
- remove the unused task argument to save_stack_trace, it's always
current
- remove the all_contexts flag, it's alwasy 0Signed-off-by: Christoph Hellwig
Cc: Paul Mundt
Cc: Ralf Baechle
Cc: Martin Schwidefsky
Cc: "David S. Miller"
Cc: Andi Kleen
Cc: Akinobu Mita
Acked-by: Ingo Molnar
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
20 Oct, 2006
1 commit
-
CONFIG_KALLSYMS=n case is obviously wrong, though it is harmless since
CONFIG_KALLSYMS is always enabled with CONFIG_STACKTRACE for now.Signed-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechle
02 Oct, 2006
3 commits
-
If the PC was ret_from_irq or ret_from_exception, there will be no
more normal stackframe. Instead of stopping the unwinding, use PC and
RA saved by an exception handler to continue unwinding into the
interrupted context. This also simplifies the CONFIG_STACKTRACE code.Signed-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechle -
Fix build error due to stacktrace API change. Now save_stack_trace()
tries to save all kernel context, including interrupts and exception.
Also some asm code are changed a bit so that we can detect the end of
current context easily.Signed-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechle -
Implement stacktrace interface by using unwind_stack() and enable lockdep
support in Kconfig.Signed-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechle