PageRenderTime 23ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 1ms

/arch/powerpc/include/asm/perf_event.h

https://bitbucket.org/cresqo/cm7-p500-kernel
C Header | 23 lines | 6 code | 2 blank | 15 comment | 0 complexity | 32dd2ab4a6e622aa041cff06177ef9a5 MD5 | raw file
Possible License(s): LGPL-2.0, AGPL-1.0, GPL-2.0
  1. /*
  2. * Performance event support - hardware-specific disambiguation
  3. *
  4. * 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.
  10. *
  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. */
  16. #ifdef CONFIG_PPC_PERF_CTRS
  17. #include <asm/perf_event_server.h>
  18. #endif
  19. #ifdef CONFIG_FSL_EMB_PERF_EVENT
  20. #include <asm/perf_event_fsl_emb.h>
  21. #endif