From: Dapeng Mi Date: Thu, 3 Apr 2025 06:08:10 +0000 (+0000) Subject: perf record: Fix incorrect --user-regs comments X-Git-Tag: v6.16-rc1~57^2~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a4a859eb6704a8aa46aa1cec5396c8d41383a26b;p=thirdparty%2Flinux.git perf record: Fix incorrect --user-regs comments 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 --- diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c index 136c0172799a0..8059bce85a510 100644 --- a/tools/perf/builtin-record.c +++ b/tools/perf/builtin-record.c @@ -3533,7 +3533,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"),