#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 05e79354cdadac3b2ef3cd0c309'/> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2017-02-04 15:25:01 -0800
committerDavid S. Miller <davem@davemloft.net>2017-02-05 16:11:57 -0500
commit32e19300a4f6705e79354cdadac3b2ef3cd0c309 (patch)
treeda9c2fe4a905848376792d45220c66173e045a1b
parent3d1a6333d90167f2b196f2cc0c2a988a10eb76c5 (diff)
aeroflex/greth: use napi_complete_done()
We plan to remove __napi_complete() soon, this driver is the last user. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat