diff options
author | bde <bde@FreeBSD.org> | 2004-05-23 19:06:15 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2004-05-23 19:06:15 +0000 |
commit | aead6fc9921c390656d761462e2198cb0b1fda3d (patch) | |
tree | d1b6058928bb44cdd45e72f339becfab3f32798c /sys | |
parent | 2b2f469df0b622eeff37e7c139cd8d53258613c8 (diff) | |
download | FreeBSD-src-aead6fc9921c390656d761462e2198cb0b1fda3d.zip FreeBSD-src-aead6fc9921c390656d761462e2198cb0b1fda3d.tar.gz |
Added profiling support for Xint0x80_syscall.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/amd64/ia32/ia32_exception.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/amd64/ia32/ia32_exception.S b/sys/amd64/ia32/ia32_exception.S index 6b57be9..052678a 100644 --- a/sys/amd64/ia32/ia32_exception.S +++ b/sys/amd64/ia32/ia32_exception.S @@ -63,5 +63,7 @@ IDTVEC(int0x80_syscall) movq %r13,TF_R13(%rsp) movq %r14,TF_R14(%rsp) movq %r15,TF_R15(%rsp) + FAKE_MCOUNT(TF_RIP(%rsp)) call ia32_syscall + MEXITCOUNT jmp doreti |