2010-02-02 19:24:58 +00:00
|
|
|
/*
|
|
|
|
* linux/arch/arm/include/asm/perf_event.h
|
|
|
|
*
|
|
|
|
* Copyright (C) 2009 picoChip Designs Ltd, Jamie Iles
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __ARM_PERF_EVENT_H__
|
|
|
|
#define __ARM_PERF_EVENT_H__
|
|
|
|
|
2012-07-29 11:36:28 +00:00
|
|
|
/*
|
|
|
|
* The ARMv7 CPU PMU supports up to 32 event counters.
|
|
|
|
*/
|
|
|
|
#define ARMPMU_MAX_HWEVENTS 32
|
|
|
|
|
|
|
|
#define HW_OP_UNSUPPORTED 0xFFFF
|
|
|
|
#define C(_x) PERF_COUNT_HW_CACHE_##_x
|
|
|
|
#define CACHE_OP_UNSUPPORTED 0xFFFF
|
2010-04-30 10:32:44 +00:00
|
|
|
|
2010-02-02 19:24:58 +00:00
|
|
|
#endif /* __ARM_PERF_EVENT_H__ */
|