Message ID | 20240130013549.89538-2-sj@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-43721-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp943412dyb; Mon, 29 Jan 2024 17:47:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IHXb/aWHhfJHN+z45+sTD3yeIz5gIK+7Rwhv51nNyxp6EgJAr1WgBg0KbDQMJGnIHRVfWOl X-Received: by 2002:a17:906:4ed9:b0:a35:bf32:8ce4 with SMTP id i25-20020a1709064ed900b00a35bf328ce4mr2799715ejv.52.1706579248738; Mon, 29 Jan 2024 17:47:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706579248; cv=pass; d=google.com; s=arc-20160816; b=jYaqaGqf34qDTxX1YSQXgMWWDw6AltcbqBXgCn7fzU4J0/dBHLUvSY3kui0D1wrwe5 SLZx7lF80QkptGDdVN+z3DT9xq/C+OHLiF35PI7Ge7XBMoMTci12Eabt8S4OnrDUuU2u b5zfY2iQDoFETKyrbKRGTnShwsv3DCEba9ZGtyyho+x/dEZnycRYWTt2WsQrjWvWHwUs UReDNIvppJ29atqrPa7+NxtevYEqWr9H8vAhFAMKvKtwSIT25M9YPtQgq1yjkXTjfNIN kxKiX87jQhoN6dFwXdvFqzpL0tVlrInVkXht5Zgg4oHDYrcwgeaX4HybBtf4QYR9gf7D QD5g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=UzC8ulRKhx2TkCWNSpXrkL8CCPSSFTRwD3zm/bCozXE=; fh=jKijsxc1Z2CHKVFf4S4lB42jMLcn6gTpewOn4Tq1/VM=; b=iQYttAYGBC4NO+/XG7dHeCzaoFt6vt6hKv/bE4pmeBxuGYfzRrcq5WwmbAyr1W96cG e2FzH47UM7mn57Wgp5PCk4KGPkX5uifqvdvkGrO2HiI8Ft4S3YRtYRfC/oLFVPcafPNr KBSyRNtUyVa2N4yo5SwYPhYCqlGyujp6ewFUUUb4jVQaZFgSCJj1xrzrWg80E7P1ibUc fgDi2ahDzkNeFfhnndymqZNGdQGagad6hv5XJHdIQ5/hNLHn+LpuFjHdaC0R72JZGdRo zc+cmPFCFv/+4MbTr1bOYZdkjISIRtvTSlMM1OZ3eTKEyheVxbeOHcGK2pKow4PV8ke5 sUFw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TyTGrLjQ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-43721-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43721-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id gz22-20020a170906f2d600b00a3522e960d0si3467164ejb.54.2024.01.29.17.47.28 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 17:47:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-43721-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TyTGrLjQ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-43721-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43721-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 47CCC1F24917 for <ouuuleilei@gmail.com>; Tue, 30 Jan 2024 01:36:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C40E737163; Tue, 30 Jan 2024 01:36:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="TyTGrLjQ" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0F0202E40E; Tue, 30 Jan 2024 01:35:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706578558; cv=none; b=PM9JZBi3vKx78ME0Nb7HbG/sBAN6NFH6qyYyEE6rlFazE5pQh0M2FUkGGVOV5W/hLZPH2zRwLPN9RVNHTM4OczaoXkfram/Dgsunl/esTRIpzMIFqREuOb132uZC2lVt0bbRKYhAtngQSzWo+KvPoDegfFM2ZS/EYQ0lM0IBKHw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706578558; c=relaxed/simple; bh=77VtE5VeGNNpbwa0hrebctF5G9UJB4sc86yojoaICLY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=UkIUWKaPOnTnJbuZX5mj1lUmBnQnmmwnfZpkIEGbvpAE/FQGzmGN4r9/MzW5I8h65mCLqJF+n2A8NthYqRIC5cVYFIPcbBi0oAz596dMzd3lb3Iuq2cUdlth7pmZL80zAUJ0OELSIhSQmSTZyL1zicLwOwN27UvA8hiVllSoZYs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=TyTGrLjQ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2ADB8C43390; Tue, 30 Jan 2024 01:35:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706578557; bh=77VtE5VeGNNpbwa0hrebctF5G9UJB4sc86yojoaICLY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TyTGrLjQCQhz8bD5mowo3BX2lOX8zP9+UFaUtGUfheU1Uga89bmlQqQelNt3gE8hy PauFBb9VoHKnGQDPacecP/BTTR1EEFJC3kkM57zEqm/y1HA5DXYwSiRz7BkD10BbAZ 4N5f0LVlsLMTdBmyHOQyegGstohPrML3/8mtPMvJuIa9a5AegAE33ILmxRSQtbJR8/ dHglWue96C9Z8l6orgyB+HDb8j8V1+P4e27BBR+IdlQpT3ItD4Gq9VOBQIhO5FvDs5 hK7URWQ03wLuU6J+N3oUBz+Kp7yAvXCYx4uPCzV2e887ccgqZn9cVhd3QcGqEmvk9t w0mJHW11Ao0Sg== From: SeongJae Park <sj@kernel.org> To: Andrew Morton <akpm@linux-foundation.org> Cc: SeongJae Park <sj@kernel.org>, Jonathan Corbet <corbet@lwn.net>, damon@lists.linux.dev, linux-mm@kvack.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/9] Docs/admin-guide/mm/damon/usage: use sysfs interface for tracepoints example Date: Mon, 29 Jan 2024 17:35:40 -0800 Message-Id: <20240130013549.89538-2-sj@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240130013549.89538-1-sj@kernel.org> References: <20240130013549.89538-1-sj@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789478042718422189 X-GMAIL-MSGID: 1789478042718422189 |
Series |
mm/damon: make DAMON debugfs interface deprecation unignorable
|
|
Commit Message
SeongJae Park
Jan. 30, 2024, 1:35 a.m. UTC
DAMON tracepoints example on the DAMON usage document is using DAMON
debugfs interface, which is deprecated. Use its alternative, DAMON
sysfs interface.
Signed-off-by: SeongJae Park <sj@kernel.org>
---
Documentation/admin-guide/mm/damon/usage.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/admin-guide/mm/damon/usage.rst b/Documentation/admin-guide/mm/damon/usage.rst index 9d23144bf985..f2feabb4bd35 100644 --- a/Documentation/admin-guide/mm/damon/usage.rst +++ b/Documentation/admin-guide/mm/damon/usage.rst @@ -579,11 +579,11 @@ monitoring results recording. While the monitoring is turned on, you could record the tracepoint events and show results using tracepoint supporting tools like ``perf``. For example:: - # echo on > monitor_on + # echo on > kdamonds/0/state # perf record -e damon:damon_aggregated & # sleep 5 # kill 9 $(pidof perf) - # echo off > monitor_on + # echo off > kdamonds/0/state # perf script kdamond.0 46568 [027] 79357.842179: damon:damon_aggregated: target_id=0 nr_regions=11 122509119488-135708762112: 0 864 [...]