Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86349
b: refs/heads/master
c: 1650743
h: refs/heads/master
i:
  86347: 7ebdcbd
v: v3
  • Loading branch information
Vegard Nossum authored and Ingo Molnar committed Feb 26, 2008
1 parent 1cb5a22 commit 44090f8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ed2b7e2b1d1ae201afe8fbd111632074b7b53ed4
refs/heads/master: 1650743cdc0db73478f72c57544ce79ea8f3dda6
4 changes: 4 additions & 0 deletions trunk/arch/x86/kernel/stacktrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ static int save_stack_stack(void *data, char *name)
static void save_stack_address(void *data, unsigned long addr, int reliable)
{
struct stack_trace *trace = data;
if (!reliable)
return;
if (trace->skip > 0) {
trace->skip--;
return;
Expand All @@ -37,6 +39,8 @@ static void
save_stack_address_nosched(void *data, unsigned long addr, int reliable)
{
struct stack_trace *trace = (struct stack_trace *)data;
if (!reliable)
return;
if (in_sched_functions(addr))
return;
if (trace->skip > 0) {
Expand Down

0 comments on commit 44090f8

Please sign in to comment.