diff options
author | Zhigang Lu <zlu@tilera.com> | 2014-01-27 21:03:50 -0500 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2014-03-07 11:19:48 -0500 |
commit | 8d61dd7d3e374eb52a174ab04169b04e3d9d729f (patch) | |
tree | 0312a9743c802bc329ebcb6ec7952727a5adc204 /arch/tile/include/asm | |
parent | ba67823163c963de7f1f2d87526c9c87f3a3ea0b (diff) |
tile/perf: Support perf_events on tilegx and tilepro
Add perf support for tile architecture.
Signed-off-by: Zhigang Lu <zlu@tilera.com>
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile/include/asm')
-rw-r--r-- | arch/tile/include/asm/perf_event.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/tile/include/asm/perf_event.h b/arch/tile/include/asm/perf_event.h new file mode 100644 index 000000000000..59c5b164e5b6 --- /dev/null +++ b/arch/tile/include/asm/perf_event.h | |||
@@ -0,0 +1,22 @@ | |||
1 | /* | ||
2 | * Copyright 2014 Tilera Corporation. All Rights Reserved. | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or | ||
5 | * modify it under the terms of the GNU General Public License | ||
6 | * as published by the Free Software Foundation, version 2. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, but | ||
9 | * WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or | ||
11 | * NON INFRINGEMENT. See the GNU General Public License for | ||
12 | * more details. | ||
13 | */ | ||
14 | |||
15 | #ifndef _ASM_TILE_PERF_EVENT_H | ||
16 | #define _ASM_TILE_PERF_EVENT_H | ||
17 | |||
18 | #include <linux/percpu.h> | ||
19 | DECLARE_PER_CPU(u64, perf_irqs); | ||
20 | |||
21 | unsigned long handle_syscall_link_address(void); | ||
22 | #endif /* _ASM_TILE_PERF_EVENT_H */ | ||