From nobody Tue Dec 28 17:51:06 2021 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 44497190F5A0; Tue, 28 Dec 2021 17:51:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JNhsk4Dkjz3F9c; Tue, 28 Dec 2021 17:51:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 726D615DA8; Tue, 28 Dec 2021 17:51:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1BSHp6df052432; Tue, 28 Dec 2021 17:51:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BSHp6Fj052426; Tue, 28 Dec 2021 17:51:06 GMT (envelope-from git) Date: Tue, 28 Dec 2021 17:51:06 GMT Message-Id: <202112281751.1BSHp6Fj052426@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 326d578232f7 - main - dtrace: Use C99 fixed-width integer types. List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 326d578232f76c54fece27caece8162bc1b0f152 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640713866; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=uNnEvUQ1QYNYWoISy0blICwXBbwTvohSLk/WVJZnsfg=; b=tovRqyHDRKZmoBp6v35dH3robiBScQ6TpzJnVTzXsAyRW5qFaFEZAOhsPjyKAJY++LlKbv ai5Bzxek/TJkjWYIaVV6ac7PKIgQa06bJOIPY+2iILW7MRE7YxRo6jDLsOB/7gI0VxZ8Wr VzbhaM/PLjGLGbrfpyKEF+mOila4afds+Ojn5asJl7YhMvWOAPEoQnpfCV2oCj6QHMCK8v ThmMkaV58fJwPDrFjjoC7bu9ic1zp/wj2ptDphQ9w/LpgUXncTqBwFQK/CcU8O6P+rVmDw tu8Ys47coxDE4hYV20UFIjmv81t0tyON8GDC7xGqy2l401XNQO3AhB6OcNen5A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640713866; a=rsa-sha256; cv=none; b=tWXAEARsHEugkT7LHRWnsVxEbHVCD/vE1pr/fAhGKRR5byD8EhUEtJEAmfOKwk6dyMtkcg U4yWridb2gcnp/5Sn7jUFQ5bSXZf3HhiE+XPuZYtbQac0tdMPOf53zuwhYeqNH/VEfzIBi p6aNKMuXaj9DQjQh4A3zOJkhJyAy41pg7s63a8afpWIYPRgwUoui99+EO2RwsrLTlqc8hr /ezZLBWhx4Zo+fYOi6DdtNCh6N2IbzNBXJU2nKVmcxLoGjrOn0CQ0TSAeEaLvLvI+PpgoU i76PiaYnLMU9KYVTPbuyDR7a6i59NnsZ7JPbZijpDcZOErOw0VHwmjv2dK4hlA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=326d578232f76c54fece27caece8162bc1b0f152 commit 326d578232f76c54fece27caece8162bc1b0f152 Author: John Baldwin AuthorDate: 2021-12-28 17:41:25 +0000 Commit: John Baldwin 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. */