Commit bbdbde2a authored by Kan Liang's avatar Kan Liang Committed by Peter Zijlstra

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

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: default avatarKan Liang <kan.liang@linux.intel.com>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20200723171117.9918-6-kan.liang@linux.intel.com
parent d39fcc32
...@@ -537,7 +537,7 @@ union perf_capabilities { ...@@ -537,7 +537,7 @@ union perf_capabilities {
*/ */
u64 full_width_write:1; u64 full_width_write:1;
u64 pebs_baseline:1; u64 pebs_baseline:1;
u64 pebs_metrics_available:1; u64 perf_metrics:1;
u64 pebs_output_pt_available:1; u64 pebs_output_pt_available:1;
}; };
u64 capabilities; u64 capabilities;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment