kernel - Add PC sampling for x86-64
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 24 Sep 2012 21:34:41 +0000 (14:34 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 24 Sep 2012 21:34:41 +0000 (14:34 -0700)
commit433c75c34a02757b400e474eab030c6e56f3e8a3
treed802d1a88f33cde5a563228aef792cf8b5e9821b
parent4e9f1e6f8e64941b9e0d54c32e693d9020bceb52
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.
sys/platform/pc64/apic/apic_vector.s
sys/platform/pc64/x86_64/genassym.c
sys/platform/pc64/x86_64/global.s
sys/sys/globaldata.h