diff options
author | Soeren Sandmann <sandmann@redhat.com> | 2006-01-09 14:58:42 +0000 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@src.gnome.org> | 2006-01-09 14:58:42 +0000 |
commit | 6d76b0c486214f440ce98c01491a81da1c89f946 (patch) | |
tree | 436d843cb0769c2552f116731528a6683531b3fb /module | |
parent | 5baa137e211690e20f08035696089954140c811e (diff) |
Remove START_OF_STACK check.
Mon Jan 9 09:58:25 2006 Soeren Sandmann <sandmann@redhat.com>
* module/sysprof-module.c (timer_notify): Remove START_OF_STACK
check.
Diffstat (limited to 'module')
-rw-r--r-- | module/sysprof-module.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/module/sysprof-module.c b/module/sysprof-module.c index bc5991e..58507e8 100644 --- a/module/sysprof-module.c +++ b/module/sysprof-module.c @@ -103,11 +103,6 @@ read_frame (void *frame_pointer, StackFrame *frame) static int timer_notify (struct pt_regs *regs) { -#ifdef CONFIG_HIGHMEM -# define START_OF_STACK 0xFF000000 -#else -# define START_OF_STACK 0xBFFFFFFF -#endif void *frame_pointer; static int n_samples; SysprofStackTrace *trace = head; @@ -144,7 +139,6 @@ timer_notify (struct pt_regs *regs) while (((result = read_frame (frame_pointer, &frame)) == 0) && i < SYSPROF_MAX_ADDRESSES && - ((unsigned long)frame_pointer) < START_OF_STACK && (unsigned long)frame_pointer >= regs->REG_STACK_PTR) { trace->addresses[i++] = (void *)frame.return_address; |