]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
perf/x86/intel: Fix the name of perf METRICS
authorKan Liang <kan.liang@linux.intel.com>
Thu, 23 Jul 2020 17:11:08 +0000 (10:11 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 18 Aug 2020 14:34:35 +0000 (16:34 +0200)
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: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20200723171117.9918-6-kan.liang@linux.intel.com
arch/x86/events/perf_event.h

index 7b68ab5f19e766126bb723893f37384cef1aff89..5d453da8cfa6c02ac4823a82737faf7106554ed5 100644 (file)
@@ -537,7 +537,7 @@ union perf_capabilities {
                 */
                u64     full_width_write:1;
                u64     pebs_baseline:1;
-               u64     pebs_metrics_available:1;
+               u64     perf_metrics:1;
                u64     pebs_output_pt_available:1;
        };
        u64     capabilities;