Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 123045
b: refs/heads/master
c: c4d04be
h: refs/heads/master
i:
  123043: a197e31
v: v3
  • Loading branch information
Johannes Berg authored and Paul Mackerras committed Dec 3, 2008
1 parent f860e01 commit 9ee7514
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0186f47e703fb7aa14b54459d642ef5374b3a685
refs/heads/master: c4d04be11f99cc9ce4e3801a5da235727db704a9
9 changes: 9 additions & 0 deletions trunk/arch/powerpc/Kconfig.debug
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@ menu "Kernel hacking"

source "lib/Kconfig.debug"

config PRINT_STACK_DEPTH
int "Stack depth to print" if DEBUG_KERNEL
default 64
help
This option allows you to set the stack depth that the kernel
prints in stack traces. This can be useful if your display is
too small and stack traces cause important information to
scroll off the screen.

config DEBUG_STACKOVERFLOW
bool "Check for stack overflows"
depends on DEBUG_KERNEL
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,7 @@ unsigned long get_wchan(struct task_struct *p)
return 0;
}

static int kstack_depth_to_print = 64;
static int kstack_depth_to_print = CONFIG_PRINT_STACK_DEPTH;

void show_stack(struct task_struct *tsk, unsigned long *stack)
{
Expand Down

0 comments on commit 9ee7514

Please sign in to comment.