perf record: Fix incorrect --user-regs comments
[ Upstream commit a4a859eb6704a8aa46aa1cec5396c8d41383a26b ]
The comment of "--user-regs" option is not correct, fix it.
"on interrupt," -> "in user space,"
Fixes: 84c4174227
("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
5ec729bc5b
commit
494395071e
@@ -3427,7 +3427,7 @@ static struct option __record_options[] = {
|
|||||||
"sample selected machine registers on interrupt,"
|
"sample selected machine registers on interrupt,"
|
||||||
" use '-I?' to list register names", parse_intr_regs),
|
" use '-I?' to list register names", parse_intr_regs),
|
||||||
OPT_CALLBACK_OPTARG(0, "user-regs", &record.opts.sample_user_regs, NULL, "any register",
|
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),
|
" use '--user-regs=?' to list register names", parse_user_regs),
|
||||||
OPT_BOOLEAN(0, "running-time", &record.opts.running_time,
|
OPT_BOOLEAN(0, "running-time", &record.opts.running_time,
|
||||||
"Record running/enabled time of read (:S) events"),
|
"Record running/enabled time of read (:S) events"),
|
||||||
|
Reference in New Issue
Block a user