2 * drivers/misc/tegra-profiler/arm_pmu.h
4 * Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved.
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License,
8 * version 2, as published by the Free Software Foundation.
10 * This program is distributed in the hope it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
20 #include <linux/list.h>
22 #define QUADD_MAX_PMU_COUNTERS 32
24 struct quadd_pmu_event_info {
28 struct list_head list;
31 #define QUADD_ARCH_NAME_MAX 64
33 struct quadd_arch_info {
37 char name[QUADD_ARCH_NAME_MAX];
40 struct quadd_pmu_ctx {
41 struct quadd_arch_info arch;
45 struct list_head used_events;
48 unsigned int *current_map;
51 #endif /* __ARM_PMU_H */