]> git.baikalelectronics.ru Git - kernel.git/commit
perf parse-regs: Split parse_regs
authorKan Liang <kan.liang@linux.intel.com>
Tue, 14 May 2019 20:19:32 +0000 (13:19 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 15 May 2019 19:36:49 +0000 (16:36 -0300)
commit6a192e0fc767e1d6206824daaac74055ce4bf4cf
treed51a46fb776c3d2bfbecdad20f1d1c640d846adc
parent6b3a79128b27ff93355dca1c267740f784cbad56
perf parse-regs: Split parse_regs

The available registers for --int-regs and --user-regs may be different,
e.g. XMM registers.

Split parse_regs into two dedicated functions for --int-regs and
--user-regs respectively.

Modify the warning message. "--user-regs=?" should be applied to show
the available registers for --user-regs.

Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Tested-by: Ravi Bangoria <ravi.bangoria@linux.ibm.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/r/1557865174-56264-1-git-send-email-kan.liang@linux.intel.com
[ Changed docs as suggested by Ravi and agreed by Kan ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/perf-record.txt
tools/perf/builtin-record.c
tools/perf/util/parse-regs-options.c
tools/perf/util/parse-regs-options.h