aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorYan, Zheng <zheng.z.yan@intel.com>2012-07-23 02:23:30 -0400
committerIngo Molnar <mingo@kernel.org>2012-07-26 06:23:11 -0400
commit4f3f713fc78d966d81ad87d2f3587369f9b34ae6 (patch)
tree457a76c76b0f58f514c600fb9115cf93c3bf96de /arch
parent895dd92c032e1604aa0d7afaef7716e058343b67 (diff)
perf/x86: Fix typo in format definition of uncore PCU filter
The format definition of uncore PCU filter should be filter_band* instead of filter_brand*. Reported-by: Stephane Eranian <eranian@google.com> Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1343024611-4692-1-git-send-email-zheng.z.yan@intel.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/cpu/perf_event_intel_uncore.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/arch/x86/kernel/cpu/perf_event_intel_uncore.c b/arch/x86/kernel/cpu/perf_event_intel_uncore.c
index 19faffc60886..a5de59f1a3ff 100644
--- a/arch/x86/kernel/cpu/perf_event_intel_uncore.c
+++ b/arch/x86/kernel/cpu/perf_event_intel_uncore.c
@@ -33,10 +33,10 @@ DEFINE_UNCORE_FORMAT_ATTR(filter_tid, filter_tid, "config1:0-4");
33DEFINE_UNCORE_FORMAT_ATTR(filter_nid, filter_nid, "config1:10-17"); 33DEFINE_UNCORE_FORMAT_ATTR(filter_nid, filter_nid, "config1:10-17");
34DEFINE_UNCORE_FORMAT_ATTR(filter_state, filter_state, "config1:18-22"); 34DEFINE_UNCORE_FORMAT_ATTR(filter_state, filter_state, "config1:18-22");
35DEFINE_UNCORE_FORMAT_ATTR(filter_opc, filter_opc, "config1:23-31"); 35DEFINE_UNCORE_FORMAT_ATTR(filter_opc, filter_opc, "config1:23-31");
36DEFINE_UNCORE_FORMAT_ATTR(filter_brand0, filter_brand0, "config1:0-7"); 36DEFINE_UNCORE_FORMAT_ATTR(filter_band0, filter_band0, "config1:0-7");
37DEFINE_UNCORE_FORMAT_ATTR(filter_brand1, filter_brand1, "config1:8-15"); 37DEFINE_UNCORE_FORMAT_ATTR(filter_band1, filter_band1, "config1:8-15");
38DEFINE_UNCORE_FORMAT_ATTR(filter_brand2, filter_brand2, "config1:16-23"); 38DEFINE_UNCORE_FORMAT_ATTR(filter_band2, filter_band2, "config1:16-23");
39DEFINE_UNCORE_FORMAT_ATTR(filter_brand3, filter_brand3, "config1:24-31"); 39DEFINE_UNCORE_FORMAT_ATTR(filter_band3, filter_band3, "config1:24-31");
40 40
41/* Sandy Bridge-EP uncore support */ 41/* Sandy Bridge-EP uncore support */
42static struct intel_uncore_type snbep_uncore_cbox; 42static struct intel_uncore_type snbep_uncore_cbox;
@@ -272,10 +272,10 @@ static struct attribute *snbep_uncore_pcu_formats_attr[] = {
272 &format_attr_thresh5.attr, 272 &format_attr_thresh5.attr,
273 &format_attr_occ_invert.attr, 273 &format_attr_occ_invert.attr,
274 &format_attr_occ_edge.attr, 274 &format_attr_occ_edge.attr,
275 &format_attr_filter_brand0.attr, 275 &format_attr_filter_band0.attr,
276 &format_attr_filter_brand1.attr, 276 &format_attr_filter_band1.attr,
277 &format_attr_filter_brand2.attr, 277 &format_attr_filter_band2.attr,
278 &format_attr_filter_brand3.attr, 278 &format_attr_filter_band3.attr,
279 NULL, 279 NULL,
280}; 280};
281 281