Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jul 2024 15:43:12 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: fa6cbe8d60b1 - main - sdt: Use a multibyte nop for tracepoints on amd64
Message-ID:  <202407081543.468FhC5c032104@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=fa6cbe8d60b1728062f7f5f337428770b89cb13d

commit fa6cbe8d60b1728062f7f5f337428770b89cb13d
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2024-07-08 15:40:06 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2024-07-08 15:40:06 +0000

    sdt: Use a multibyte nop for tracepoints on amd64
    
    Differential Revision:  https://reviews.freebsd.org/D45666
---
 sys/amd64/include/sdt_machdep.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/amd64/include/sdt_machdep.h b/sys/amd64/include/sdt_machdep.h
index 2434abed2e0e..497ca26d5277 100644
--- a/sys/amd64/include/sdt_machdep.h
+++ b/sys/amd64/include/sdt_machdep.h
@@ -7,6 +7,6 @@
 #ifndef _SYS_SDT_MACHDEP_H_
 #define	_SYS_SDT_MACHDEP_H_
 
-#define	_SDT_ASM_PATCH_INSTR	"nop; nop; nop; nop; nop"
+#define	_SDT_ASM_PATCH_INSTR	"nopw 0(%%rax,%%rax,1)"
 
 #endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202407081543.468FhC5c032104>