Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 158402
b: refs/heads/master
c: 79173bf
h: refs/heads/master
v: v3
  • Loading branch information
Xiao Guangrong authored and Frederic Weisbecker committed Jul 17, 2009
1 parent 06640a3 commit 103ebf3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 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: 64fbcd162819bddaf0d99e78b16371b655aa5dee
refs/heads/master: 79173bf556417a737e9d2e096e0788452ec30a61
9 changes: 1 addition & 8 deletions trunk/kernel/trace/trace_stack.c
Original file line number Diff line number Diff line change
Expand Up @@ -234,15 +234,8 @@ static void t_stop(struct seq_file *m, void *p)
static int trace_lookup_stack(struct seq_file *m, long i)
{
unsigned long addr = stack_dump_trace[i];
#ifdef CONFIG_KALLSYMS
char str[KSYM_SYMBOL_LEN];

sprint_symbol(str, addr);

return seq_printf(m, "%s\n", str);
#else
return seq_printf(m, "%p\n", (void*)addr);
#endif
return seq_printf(m, "%pF\n", (void *)addr);
}

static void print_disabled(struct seq_file *m)
Expand Down

0 comments on commit 103ebf3

Please sign in to comment.