提交 54436ab3 编写于 作者: K Kan Liang 提交者: Yang Yingliang

Intel: perf/x86/intel: Fix the name of perf METRICS

mainline inclusion
from mainline-v5.10-rc1
commit bbdbde2a
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I47H3V
CVE: NA

--------------------------------

commit bbdbde2a upstream
Backport summary: backport to kernel 4.19.57 for ICX perf topdown support

Bit 15 of the PERF_CAPABILITIES MSR indicates that the perf METRICS
feature is supported. The perf METRICS is not a PEBS feature.

Rename pebs_metrics_available perf_metrics.

The bit is not used in the current code. It will be used in a later
patch.
Signed-off-by: NKan Liang <kan.liang@linux.intel.com>
Signed-off-by: NPeter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20200723171117.9918-6-kan.liang@linux.intel.comSigned-off-by: NYunying Sun <yunying.sun@intel.com>
Signed-off-by: NJackie Liu <liuyun01@kylinos.cn>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Reviewed-by: NWei Li <liwei391@huawei.com>
Reviewed-by: NXie XiuQi <xiexiuqi@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
上级 195d4d7f
...@@ -516,6 +516,7 @@ union perf_capabilities { ...@@ -516,6 +516,7 @@ union perf_capabilities {
*/ */
u64 full_width_write:1; u64 full_width_write:1;
u64 pebs_baseline:1; u64 pebs_baseline:1;
u64 perf_metrics:1;
}; };
u64 capabilities; u64 capabilities;
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册