blob: e6d4ce69b126eef07a463fc144ef2020ed53ad05 [file] [log] [blame]
Paul Mackerrasd662ed262009-01-09 17:01:53 +11001/*
Scott Wooda1110652010-02-25 18:09:45 -06002 * Performance event support - hardware-specific disambiguation
Paul Mackerrasd662ed262009-01-09 17:01:53 +11003 *
Scott Wooda1110652010-02-25 18:09:45 -06004 * For now this is a compile-time decision, but eventually it should be
5 * runtime. This would allow multiplatform perf event support for e300 (fsl
6 * embedded perf counters) plus server/classic, and would accommodate
7 * devices other than the core which provide their own performance counters.
8 *
9 * Copyright 2010 Freescale Semiconductor, Inc.
Paul Mackerrasd662ed262009-01-09 17:01:53 +110010 *
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; either version
14 * 2 of the License, or (at your option) any later version.
15 */
Paul Mackerras45749102009-01-09 20:21:55 +110016
Paul Mackerras105988c2009-06-17 21:50:04 +100017#ifdef CONFIG_PPC_PERF_CTRS
Scott Wooda1110652010-02-25 18:09:45 -060018#include <asm/perf_event_server.h>
Paul Mackerras105988c2009-06-17 21:50:04 +100019#endif
20
Scott Wooda1110652010-02-25 18:09:45 -060021#ifdef CONFIG_FSL_EMB_PERF_EVENT
22#include <asm/perf_event_fsl_emb.h>
23#endif