git: print_backtrace - Take parameter count

Alex Hornung alexh at crater.dragonflybsd.org
Thu Apr 15 13:25:59 PDT 2010


commit 7ce2998efcfaed1263ab8e58b674a55dfed89b3d
Author: Alex Hornung <ahornung at gmail.com>
Date:   Wed Mar 31 10:44:25 2010 +0000

    print_backtrace - Take parameter count
    
    * Modify print_backtrace to take a parameter 'count' that specifies the
      maximum number of frames to print for the backtrace.
    
    * Change all current consumers to use the new print_backtrace with count
      -1, resulting in the same behaviour as before this change.
    
    * Remove cruft in dsched_fq that simulated this behaviour previously.

Summary of changes:
 sys/dev/acpica5/Osd/OsdSynch.c                   |    4 ++--
 sys/dsched/fq/dsched_fq_core.c                   |   18 +++---------------
 sys/kern/kern_debug.c                            |    2 +-
 sys/kern/kern_shutdown.c                         |    2 +-
 sys/kern/kern_spinlock.c                         |    4 ++--
 sys/kern/kern_timeout.c                          |    4 ++--
 sys/kern/lwkt_thread.c                           |    2 +-
 sys/kern/uipc_mbuf.c                             |    2 +-
 sys/kern/vfs_bio.c                               |    2 +-
 sys/kern/vfs_lock.c                              |    2 +-
 sys/net/route.c                                  |    4 ++--
 sys/netinet/ip_output.c                          |    2 +-
 sys/platform/pc32/i386/busdma_machdep.c          |    6 +++---
 sys/platform/pc32/i386/db_trace.c                |    4 ++--
 sys/platform/pc32/i386/pmap.c                    |    8 ++++----
 sys/platform/pc64/x86_64/busdma_machdep.c        |    6 +++---
 sys/platform/pc64/x86_64/db_trace.c              |    4 ++--
 sys/platform/vkernel/i386/db_trace.c             |    4 ++--
 sys/platform/vkernel/platform/busdma_machdep.c   |    6 +++---
 sys/platform/vkernel64/platform/busdma_machdep.c |    6 +++---
 sys/platform/vkernel64/x86_64/db_trace.c         |    4 ++--
 sys/sys/systm.h                                  |    2 +-
 sys/vfs/nfs/nfs_socket.c                         |    2 +-
 sys/vfs/tmpfs/tmpfs_vfsops.c                     |    2 +-
 sys/vm/vm_vmspace.c                              |    2 +-
 25 files changed, 46 insertions(+), 58 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7ce2998efcfaed1263ab8e58b674a55dfed89b3d


-- 
DragonFly BSD source repository





More information about the Commits mailing list