#ifndef PMU_EVENTS_H #define PMU_EVENTS_H /* * Describe each PMU event. Each CPU has a table of PMU events. */ struct pmu_event { const char *name; const char *event; const char *desc; const char *topic; const char *long_desc; }; /* * * Map a CPU to its table of PMU events. The CPU is identified by the * cpuid field, which is an arch-specific identifier for the CPU. * The identifier specified in tools/perf/pmu-events/arch/xxx/mapfile * must match the get_cpustr() in tools/perf/arch/xxx/util/header.c) * * The cpuid can contain any character other than the comma. */ struct pmu_events_map { const char *cpuid; const char *version; const char *type; /* core, uncore etc */ struct pmu_event *table; }; /* * Global table mapping each known CPU for the architecture to its * table of PMU events. */ extern struct pmu_events_map pmu_events_map[]; #endif
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPavel Belous <pavel.s.belous@gmail.com>2017-01-28 22:53:28 +0300
committerDavid S. Miller <davem@davemloft.net>2017-01-30 10:14:28 -0500
commit94842b4fc4d6b1691cfc86c6f5251f299d27f4ba (patch)
tree86aa0260c94f356d8f7ed426cb80060de376abb4 /include
parentd1156b489fa734d1af763d6a07b1637c01bb0aed (diff)
net: ethtool: add support for 2500BaseT and 5000BaseT link modes
This patch introduce support for 2500BaseT and 5000BaseT link modes. These modes are included in the new IEEE 802.3bz standard. Signed-off-by: Pavel Belous <pavel.s.belous@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')