diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2019-05-09 16:28:26 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-05-09 16:28:26 -0400 |
commit | b1e76c3d3a774298475622bde63010972c9515a1 (patch) | |
tree | 33d5560c184464cfe9f9ba755b761686c8d59290 /tools/arch | |
parent | 800c608c976c3f0a6d02ed7fbc600f1f6962ac73 (diff) | |
parent | 3213486f2e442831e324cc6201a2f9e924ecc235 (diff) |
Merge tag 'csky-for-linus-5.2-perf-unwind-libdw' of git://github.com/c-sky/csky-linux
Pull arch/csky perf update from Guo Ren:
"Add support for perf unwind-libdw"
* tag 'csky-for-linus-5.2-perf-unwind-libdw' of git://github.com/c-sky/csky-linux:
csky: Add support for perf unwind-libdw
Diffstat (limited to 'tools/arch')
-rw-r--r-- | tools/arch/csky/include/uapi/asm/perf_regs.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/tools/arch/csky/include/uapi/asm/perf_regs.h b/tools/arch/csky/include/uapi/asm/perf_regs.h new file mode 100644 index 000000000000..ee323d818592 --- /dev/null +++ b/tools/arch/csky/include/uapi/asm/perf_regs.h | |||
@@ -0,0 +1,51 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0 */ | ||
2 | // Copyright (C) 2019 Hangzhou C-SKY Microsystems co.,ltd. | ||
3 | |||
4 | #ifndef _ASM_CSKY_PERF_REGS_H | ||
5 | #define _ASM_CSKY_PERF_REGS_H | ||
6 | |||
7 | /* Index of struct pt_regs */ | ||
8 | enum perf_event_csky_regs { | ||
9 | PERF_REG_CSKY_TLS, | ||
10 | PERF_REG_CSKY_LR, | ||
11 | PERF_REG_CSKY_PC, | ||
12 | PERF_REG_CSKY_SR, | ||
13 | PERF_REG_CSKY_SP, | ||
14 | PERF_REG_CSKY_ORIG_A0, | ||
15 | PERF_REG_CSKY_A0, | ||
16 | PERF_REG_CSKY_A1, | ||
17 | PERF_REG_CSKY_A2, | ||
18 | PERF_REG_CSKY_A3, | ||
19 | PERF_REG_CSKY_REGS0, | ||
20 | PERF_REG_CSKY_REGS1, | ||
21 | PERF_REG_CSKY_REGS2, | ||
22 | PERF_REG_CSKY_REGS3, | ||
23 | PERF_REG_CSKY_REGS4, | ||
24 | PERF_REG_CSKY_REGS5, | ||
25 | PERF_REG_CSKY_REGS6, | ||
26 | PERF_REG_CSKY_REGS7, | ||
27 | PERF_REG_CSKY_REGS8, | ||
28 | PERF_REG_CSKY_REGS9, | ||
29 | #if defined(__CSKYABIV2__) | ||
30 | PERF_REG_CSKY_EXREGS0, | ||
31 | PERF_REG_CSKY_EXREGS1, | ||
32 | PERF_REG_CSKY_EXREGS2, | ||
33 | PERF_REG_CSKY_EXREGS3, | ||
34 | PERF_REG_CSKY_EXREGS4, | ||
35 | PERF_REG_CSKY_EXREGS5, | ||
36 | PERF_REG_CSKY_EXREGS6, | ||
37 | PERF_REG_CSKY_EXREGS7, | ||
38 | PERF_REG_CSKY_EXREGS8, | ||
39 | PERF_REG_CSKY_EXREGS9, | ||
40 | PERF_REG_CSKY_EXREGS10, | ||
41 | PERF_REG_CSKY_EXREGS11, | ||
42 | PERF_REG_CSKY_EXREGS12, | ||
43 | PERF_REG_CSKY_EXREGS13, | ||
44 | PERF_REG_CSKY_EXREGS14, | ||
45 | PERF_REG_CSKY_HI, | ||
46 | PERF_REG_CSKY_LO, | ||
47 | PERF_REG_CSKY_DCSR, | ||
48 | #endif | ||
49 | PERF_REG_CSKY_MAX, | ||
50 | }; | ||
51 | #endif /* _ASM_CSKY_PERF_REGS_H */ | ||