From aead6fc9921c390656d761462e2198cb0b1fda3d Mon Sep 17 00:00:00 2001 From: bde Date: Sun, 23 May 2004 19:06:15 +0000 Subject: [PATCH] Added profiling support for Xint0x80_syscall. --- sys/amd64/ia32/ia32_exception.S | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/amd64/ia32/ia32_exception.S b/sys/amd64/ia32/ia32_exception.S index 6b57be90f820..052678ad04cd 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