git: fa6cbe8d60b1 - main - sdt: Use a multibyte nop for tracepoints on amd64

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Mon, 08 Jul 2024 15:43:12 UTC
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