power7-pmu.c (8c57a5e7b2820f349c95b8c8393fec1e0f4070d2) power7-pmu.c (7c98bd72081c44670e2d0b60aed364180ebc0611)
1/*
2 * Performance counter support for POWER7 processors.
3 *
4 * Copyright 2009 Paul Mackerras, IBM Corporation.
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version

--- 402 unchanged lines hidden (view full) ---

411
412PMU_FORMAT_ATTR(event, "config:0-19");
413
414static struct attribute *power7_pmu_format_attr[] = {
415 &format_attr_event.attr,
416 NULL,
417};
418
1/*
2 * Performance counter support for POWER7 processors.
3 *
4 * Copyright 2009 Paul Mackerras, IBM Corporation.
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version

--- 402 unchanged lines hidden (view full) ---

411
412PMU_FORMAT_ATTR(event, "config:0-19");
413
414static struct attribute *power7_pmu_format_attr[] = {
415 &format_attr_event.attr,
416 NULL,
417};
418
419struct attribute_group power7_pmu_format_group = {
419static struct attribute_group power7_pmu_format_group = {
420 .name = "format",
421 .attrs = power7_pmu_format_attr,
422};
423
424static const struct attribute_group *power7_pmu_attr_groups[] = {
425 &power7_pmu_format_group,
426 &power7_pmu_events_group,
427 NULL,

--- 32 unchanged lines hidden ---
420 .name = "format",
421 .attrs = power7_pmu_format_attr,
422};
423
424static const struct attribute_group *power7_pmu_attr_groups[] = {
425 &power7_pmu_format_group,
426 &power7_pmu_events_group,
427 NULL,

--- 32 unchanged lines hidden ---