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 <[email protected]> Signed-off-by: Dapeng Mi <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Kan Liang <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
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)