git: kernel - Add PC sampling for x86-64

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Sep 24 14:35:35 PDT 2012


commit 433c75c34a02757b400e474eab030c6e56f3e8a3
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Sep 24 14:34:41 2012 -0700

    kernel - Add PC sampling for x86-64
    
    * Xtimer interrupt (lapic timer) now samples the %rip value and stores
      it in the globaldata structure.  Sampling occurs whether the machine is
      in a critical section or not.
    
    * Used for debugging.

Summary of changes:
 sys/platform/pc64/apic/apic_vector.s |    2 ++
 sys/platform/pc64/x86_64/genassym.c  |    1 +
 sys/platform/pc64/x86_64/global.s    |    2 ++
 sys/sys/globaldata.h                 |    3 ++-
 4 files changed, 7 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/433c75c34a02757b400e474eab030c6e56f3e8a3


-- 
DragonFly BSD source repository



More information about the Commits mailing list