mirror of https://gitee.com/openkylin/linux.git
9d5dcc93a6
PEBS_REGS used as mask for the supported registers for large PEBS.
However, the mask cannot filter the sample_regs_user/sample_regs_intr
correctly.
(1ULL << PERF_REG_X86_*) should be used to replace PERF_REG_X86_*, which
is only the index.
Rename PEBS_REGS to PEBS_GP_REGS, because the mask is only for general
purpose registers.
Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: <stable@vger.kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Cc: acme@kernel.org
Cc: jolsa@kernel.org
Fixes:
|
||
---|---|---|
.. | ||
Makefile | ||
bts.c | ||
core.c | ||
cstate.c | ||
ds.c | ||
knc.c | ||
lbr.c | ||
p4.c | ||
p6.c | ||
pt.c | ||
pt.h | ||
rapl.c | ||
uncore.c | ||
uncore.h | ||
uncore_nhmex.c | ||
uncore_snb.c | ||
uncore_snbep.c |