Date: Tue, 28 Dec 2021 17:51:06 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 326d578232f7 - main - dtrace: Use C99 fixed-width integer types. Message-ID: <202112281751.1BSHp6Fj052426@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=326d578232f76c54fece27caece8162bc1b0f152 commit 326d578232f76c54fece27caece8162bc1b0f152 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2021-12-28 17:41:25 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2021-12-28 17:41:25 +0000 dtrace: Use C99 fixed-width integer types. No functional change. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D33631 --- sys/cddl/dev/dtrace/dtrace_cddl.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/sys/cddl/dev/dtrace/dtrace_cddl.h b/sys/cddl/dev/dtrace/dtrace_cddl.h index 344fe562bff9..dd62af632e79 100644 --- a/sys/cddl/dev/dtrace/dtrace_cddl.h +++ b/sys/cddl/dev/dtrace/dtrace_cddl.h @@ -34,7 +34,7 @@ */ typedef struct kdtrace_proc { int p_dtrace_probes; /* Are there probes for this proc? */ - u_int64_t p_dtrace_count; /* Number of DTrace tracepoints */ + uint64_t p_dtrace_count; /* Number of DTrace tracepoints */ void *p_dtrace_helpers; /* DTrace helpers, if any */ int p_dtrace_model; uint64_t p_fasttrap_tp_gen; /* Tracepoint hash table gen */ @@ -44,25 +44,25 @@ typedef struct kdtrace_proc { * Kernel DTrace extension to 'struct thread' for FreeBSD. */ typedef struct kdtrace_thread { - u_int8_t td_dtrace_stop; /* Indicates a DTrace-desired stop */ - u_int8_t td_dtrace_sig; /* Signal sent via DTrace's raise() */ - u_int8_t td_dtrace_inprobe; /* Are we in a probe? */ + uint8_t td_dtrace_stop; /* Indicates a DTrace-desired stop */ + uint8_t td_dtrace_sig; /* Signal sent via DTrace's raise() */ + uint8_t td_dtrace_inprobe; /* Are we in a probe? */ u_int td_predcache; /* DTrace predicate cache */ - u_int64_t td_dtrace_vtime; /* DTrace virtual time */ - u_int64_t td_dtrace_start; /* DTrace slice start time */ + uint64_t td_dtrace_vtime; /* DTrace virtual time */ + uint64_t td_dtrace_start; /* DTrace slice start time */ union __tdu { struct __tds { - u_int8_t _td_dtrace_on; + uint8_t _td_dtrace_on; /* Hit a fasttrap tracepoint. */ - u_int8_t _td_dtrace_step; + uint8_t _td_dtrace_step; /* About to return to kernel. */ - u_int8_t _td_dtrace_ret; + uint8_t _td_dtrace_ret; /* Handling a return probe. */ - u_int8_t _td_dtrace_ast; + uint8_t _td_dtrace_ast; /* Saved ast flag. */ #ifdef __amd64__ - u_int8_t _td_dtrace_reg; + uint8_t _td_dtrace_reg; #endif } _tds; u_long _td_dtrace_ft; /* Bitwise or of these flags. */ @@ -83,7 +83,7 @@ typedef struct kdtrace_thread { #ifdef __amd64__ uintptr_t td_dtrace_regv; #endif - u_int64_t td_hrtime; /* Last time on cpu. */ + uint64_t td_hrtime; /* Last time on cpu. */ void *td_dtrace_sscr; /* Saved scratch space location. */ void *td_systrace_args; /* syscall probe arguments. */ uint64_t td_fasttrap_tp_gen; /* Tracepoint hash table gen. */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112281751.1BSHp6Fj052426>