mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-01 08:04:22 +08:00
aeea9062d9
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>
8 lines
316 B
C
8 lines
316 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _PERF_PARSE_REGS_OPTIONS_H
|
|
#define _PERF_PARSE_REGS_OPTIONS_H 1
|
|
struct option;
|
|
int parse_user_regs(const struct option *opt, const char *str, int unset);
|
|
int parse_intr_regs(const struct option *opt, const char *str, int unset);
|
|
#endif /* _PERF_PARSE_REGS_OPTIONS_H */
|