Skip to content

Commit a4a859e

Browse files
Dapeng Miacmel
authored andcommitted
perf record: Fix incorrect --user-regs comments
The comment of "--user-regs" option is not correct, fix it. "on interrupt," -> "in user space," Fixes: 84c4174 ("perf record: Support direct --user-regs arguments") Reviewed-by: Ian Rogers <irogers@google.com> Signed-off-by: Dapeng Mi <dapeng1.mi@linux.intel.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Kan Liang <kan.liang@linux.intel.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: https://lore.kernel.org/r/20250403060810.196028-1-dapeng1.mi@linux.intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent 24bcc31 commit a4a859e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/perf/builtin-record.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3533,7 +3533,7 @@ static struct option __record_options[] = {
35333533
"sample selected machine registers on interrupt,"
35343534
" use '-I?' to list register names", parse_intr_regs),
35353535
OPT_CALLBACK_OPTARG(0, "user-regs", &record.opts.sample_user_regs, NULL, "any register",
3536-
"sample selected machine registers on interrupt,"
3536+
"sample selected machine registers in user space,"
35373537
" use '--user-regs=?' to list register names", parse_user_regs),
35383538
OPT_BOOLEAN(0, "running-time", &record.opts.running_time,
35393539
"Record running/enabled time of read (:S) events"),

0 commit comments

Comments
 (0)