git: e967a9a5d5da - main - Revert "dtrace: cache current probe in kdtrace_thread_t"

From: Christos Margiolis <christos_at_FreeBSD.org>
Date: Wed, 19 Jul 2023 14:59:55 UTC
The branch main has been updated by christos:

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

commit e967a9a5d5da7762a0c6832ea36b8ccfe3b33ca2
Author:     Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2023-07-19 14:58:49 +0000
Commit:     Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2023-07-19 14:58:49 +0000

    Revert "dtrace: cache current probe in kdtrace_thread_t"
    
    This reverts commit 22508c8b6c284ad9ad1385c703e224e1ed3fbd7c.
    
    The t_kinst_curprobe field is no longer needed by kinst.
    
    Reviewed by:    markj
    Approved by:    markj (mentor)
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D41031
---
 sys/cddl/dev/dtrace/dtrace_cddl.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sys/cddl/dev/dtrace/dtrace_cddl.h b/sys/cddl/dev/dtrace/dtrace_cddl.h
index 6a4aba15bfab..720c231bfca8 100644
--- a/sys/cddl/dev/dtrace/dtrace_cddl.h
+++ b/sys/cddl/dev/dtrace/dtrace_cddl.h
@@ -89,7 +89,6 @@ typedef struct kdtrace_thread {
 	uint64_t	td_fasttrap_tp_gen; /* Tracepoint hash table gen. */
 	struct trapframe *td_dtrace_trapframe; /* Trap frame from invop. */
 	void		*td_kinst_tramp;
-	void		*td_kinst_curprobe;
 } kdtrace_thread_t;
 
 /*
@@ -120,7 +119,6 @@ typedef struct kdtrace_thread {
 #define	t_fasttrap_tp_gen	td_dtrace->td_fasttrap_tp_gen
 #define	t_dtrace_trapframe	td_dtrace->td_dtrace_trapframe
 #define	t_kinst_tramp		td_dtrace->td_kinst_tramp
-#define	t_kinst_curprobe	td_dtrace->td_kinst_curprobe
 #define	p_dtrace_helpers	p_dtrace->p_dtrace_helpers
 #define	p_dtrace_count	p_dtrace->p_dtrace_count
 #define	p_dtrace_probes	p_dtrace->p_dtrace_probes