git: 22508c8b6c28 - main - dtrace: cache current probe in kdtrace_thread_t
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 04 Jul 2023 15:39:02 UTC
The branch main has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=22508c8b6c284ad9ad1385c703e224e1ed3fbd7c commit 22508c8b6c284ad9ad1385c703e224e1ed3fbd7c Author: Christos Margiolis <christos@FreeBSD.org> AuthorDate: 2023-07-04 15:37:55 +0000 Commit: Christos Margiolis <christos@FreeBSD.org> CommitDate: 2023-07-04 15:37:55 +0000 dtrace: cache current probe in kdtrace_thread_t Needed by the forthcoming RISC-V and ARM64 ports. Reviewed by: markj Approved by: markj (mentor) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D40872 --- sys/cddl/dev/dtrace/dtrace_cddl.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/cddl/dev/dtrace/dtrace_cddl.h b/sys/cddl/dev/dtrace/dtrace_cddl.h index 720c231bfca8..6a4aba15bfab 100644 --- a/sys/cddl/dev/dtrace/dtrace_cddl.h +++ b/sys/cddl/dev/dtrace/dtrace_cddl.h @@ -89,6 +89,7 @@ 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; /* @@ -119,6 +120,7 @@ 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