From mboxrd@z Thu Jan 1 00:00:00 1970 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 311F8230BC2; Mon, 23 Jun 2025 13:39:16 +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=1750685956; cv=none; b=NYl3X1nX8tTPz+zLHCZHZewH6Z0rBOTjGAc3W2cHKtnrgzB57Y4NNfQS/o2MhS9pTy5cIVQkL0dqEEHyUtHvTqe7YlF+mEtRGQgR3VNEj4P47GCz4K39EiYVH9iXxwSHSnlmcwnPjdXHuHpl3i8glLzPO2x8iogJ/kNNRChISSI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750685956; c=relaxed/simple; bh=+iucSm9wutNy1AEBMXYaoIfBxfwnsADwzw5PGjMh06E=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=IvyJgn0Ra/gHFm0TMLkzBvUnyWSgRfjutWfZvD5tVgawxBsxuuXiPei+hJ6L87Dj+CVKDNblMoJoRGUJRg5izlhE0p6v9NM6fZ9pkw2fi9zSNP92gAZRj7ksw2shCiN5smcQmIOBGLtg7YrPqcpStuKSodZ1gISdOSR9wIxLp1A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=VUuTMKvH; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="VUuTMKvH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9171BC4CEEA; Mon, 23 Jun 2025 13:39:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750685956; bh=+iucSm9wutNy1AEBMXYaoIfBxfwnsADwzw5PGjMh06E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VUuTMKvHYHowPBvQVClJmDYRpN7dL35aFUycWMFziyKrCK8aBymskLErLcnUXaJQ+ W5PJMr42tlBnMfuP4mgTMEkv1hB71O2Nb/hIooIDAPhOplxYHgnaxb9v8tc/Ycgxhi mpmRZj3lRBRK3FJ+2542TRvnjIn9x5cWmnysuNxc= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Ian Rogers , Dapeng Mi , Adrian Hunter , Alexander Shishkin , Andi Kleen , Ingo Molnar , Kan Liang , Namhyung Kim , Peter Zijlstra , Arnaldo Carvalho de Melo , Sasha Levin Subject: [PATCH 5.10 082/355] perf record: Fix incorrect --user-regs comments Date: Mon, 23 Jun 2025 15:04:43 +0200 Message-ID: <20250623130629.278318389@linuxfoundation.org> X-Mailer: git-send-email 2.50.0 In-Reply-To: <20250623130626.716971725@linuxfoundation.org> References: <20250623130626.716971725@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 5.10-stable review patch. If anyone has any objections, please let me know. ------------------ From: Dapeng Mi [ Upstream commit a4a859eb6704a8aa46aa1cec5396c8d41383a26b ] The comment of "--user-regs" option is not correct, fix it. "on interrupt," -> "in user space," Fixes: 84c417422798c897 ("perf record: Support direct --user-regs arguments") Reviewed-by: Ian Rogers Signed-off-by: Dapeng Mi Cc: Adrian Hunter Cc: Alexander Shishkin Cc: Andi Kleen Cc: Ingo Molnar Cc: Kan Liang Cc: Namhyung Kim Cc: Peter Zijlstra Link: https://lore.kernel.org/r/20250403060810.196028-1-dapeng1.mi@linux.intel.com Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Sasha Levin --- tools/perf/builtin-record.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c index 167cd8d3b7a21..42f6ec953b7cc 100644 --- a/tools/perf/builtin-record.c +++ b/tools/perf/builtin-record.c @@ -2516,7 +2516,7 @@ static struct option __record_options[] = { "sample selected machine registers on interrupt," " use '-I?' to list register names", parse_intr_regs), OPT_CALLBACK_OPTARG(0, "user-regs", &record.opts.sample_user_regs, NULL, "any register", - "sample selected machine registers on interrupt," + "sample selected machine registers in user space," " use '--user-regs=?' to list register names", parse_user_regs), OPT_BOOLEAN(0, "running-time", &record.opts.running_time, "Record running/enabled time of read (:S) events"), -- 2.39.5