From nobody Thu Feb 03 23:43:53 2022 X-Original-To: dev-commits-src-all@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 0ADA319A1A38; Thu, 3 Feb 2022 23:43:56 +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 4JqZxl37Lrz3RF5; Thu, 3 Feb 2022 23:43:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643931835; 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=1xbtWQpEmTmL9UwqC3ZTG/EJXIm5QClrlVY1c77OhM0=; b=b045tRfLWevSiyPkjwSHHPvxFpYecKGx6UbkYOgTActtn+sxa85tXDR+3ITY2AghXlhIqQ QueSvnSHyH/K5mI7J9mj6IUlzxrqjFIH5NVy3Jmt0Q6Wn1gzfm5cHkqfobGdpSn6YzWhDX qvSHIGKvo4soW+L+d5Ix4BsrCF6G1o8aqWmZo4EMdfERr1eHVBw/lofuquJzYA1ExnrhxE 4CYVBjlfPNRTktJcpzudfmLrbPAUtCkexhytz8iNa4Cf+U8VzMZmd+Tkckv3jSq9sPs013 lhXjyN26yUmuM/mi9IGS4Ww0nVFMDIAHTCx65BPA1ZrXjbKVqzF/Sz5d9SnoFg== 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 043F1213D7; Thu, 3 Feb 2022 23:43:54 +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 213NhrUk076698; Thu, 3 Feb 2022 23:43:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 213NhrKD076697; Thu, 3 Feb 2022 23:43:53 GMT (envelope-from git) Date: Thu, 3 Feb 2022 23:43:53 GMT Message-Id: <202202032343.213NhrKD076697@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Jung-uk Kim Subject: git: ec1f122b56f9 - main - rtsx: Add CTLFLAG_STATS flag for read and write counters List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jkim X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ec1f122b56f9e88397dfae26078d6f1ca53094ed Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643931835; 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=1xbtWQpEmTmL9UwqC3ZTG/EJXIm5QClrlVY1c77OhM0=; b=AGUK0Nd21+Cfw+9+Eis+YCOC8fdq8VWxiAGSB/CdB982b8lKEbZN05vG+sirlmmw7rWDnn u3/9gn+KjmGtYPQlT/t+FPapJ+BiJXRLZzRk8Si/dKFwnLz4HHXJu7BT85IIGJWaEhNdQ2 d0SbzoTllTaheBVbwwsrPvUYqggS2ZbtvbxlqSQQYqeXlOvc3mdF7Zrqz8FaeGXBaQxQK7 N/xp0JlAQD9tR1j/riWUQvuzJ9/zVydByvGY7AGM7VpocLc8il6YwK9H0xkhRXjYeYAJt2 tJsRm6IdVNfhRY7idSG+/URzfcRi5Vhf+NS2z9qfXZxfoQoyzOsx1q5UDvGCYQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643931835; a=rsa-sha256; cv=none; b=vL/N/2YBipneZzQVG6d+y4RrGl0oAWJcd8LPNdYEC2Km2e4nYNQibwVQ7SWQ3rT5ck3+Vq UE8kc0ImxPbAmGTcNmtUBGKcTooAN0656iiP7u4AV7CqJpOy7vEqdyheRfp7LZ2Q3vKBjr R1aVtuWc/v07VvCaaR/+S8FaDzFPVBsUq1BXtUaKSU0kpZR1GUjuVCBho//JakkBvRc8fr JdM9GE3sfLQQmc7mbhUF+vJyZl4b+iA3xYzE3r53+i55y0piE4YqtOpuJduNPVU/ayvWNT OGOWg9TvEzber5b/B/AYuNePQAkCDxvY7N0HxLGHoYrWOW+2rzpsb9j51GzkfA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jkim: URL: https://cgit.FreeBSD.org/src/commit/?id=ec1f122b56f9e88397dfae26078d6f1ca53094ed commit ec1f122b56f9e88397dfae26078d6f1ca53094ed Author: Henri Hennebert AuthorDate: 2022-02-03 23:18:08 +0000 Commit: Jung-uk Kim CommitDate: 2022-02-03 23:43:12 +0000 rtsx: Add CTLFLAG_STATS flag for read and write counters Differential Revision: https://reviews.freebsd.org/D32154 --- sys/dev/rtsx/rtsx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/rtsx/rtsx.c b/sys/dev/rtsx/rtsx.c index ce1909f52c47..5146ca54141c 100644 --- a/sys/dev/rtsx/rtsx.c +++ b/sys/dev/rtsx/rtsx.c @@ -3536,9 +3536,9 @@ rtsx_attach(device_t dev) &sc->rtsx_force_timing, 0, "Force bus_timing_uhs_sdr50"); SYSCTL_ADD_U8(ctx, tree, OID_AUTO, "debug", CTLFLAG_RWTUN, &sc->rtsx_debug, 0, "Debugging flag"); - SYSCTL_ADD_U64(ctx, tree, OID_AUTO, "read_count", CTLFLAG_RD, + SYSCTL_ADD_U64(ctx, tree, OID_AUTO, "read_count", CTLFLAG_RD | CTLFLAG_STATS, &sc->rtsx_read_count, 0, "Count of read operations"); - SYSCTL_ADD_U64(ctx, tree, OID_AUTO, "write_count", CTLFLAG_RD, + SYSCTL_ADD_U64(ctx, tree, OID_AUTO, "write_count", CTLFLAG_RD | CTLFLAG_STATS, &sc->rtsx_write_count, 0, "Count of write operations"); if (bootverbose || sc->rtsx_debug)