summaryrefslogtreecommitdiffstats
path: root/arch/csky/include
diff options
context:
space:
mode:
authorGuo Ren2019-01-02 15:09:25 +0100
committerGuo Ren2019-01-02 15:17:11 +0100
commitf50fd2d8524c15b08da9e7e9d84752f0f1be7172 (patch)
tree063f9ff5983ddf5973269d8386245b5329766e28 /arch/csky/include
parentcsky: Add EM_CSKY_OLD 39 (diff)
downloadkernel-qcow2-linux-f50fd2d8524c15b08da9e7e9d84752f0f1be7172.tar.gz
kernel-qcow2-linux-f50fd2d8524c15b08da9e7e9d84752f0f1be7172.tar.xz
kernel-qcow2-linux-f50fd2d8524c15b08da9e7e9d84752f0f1be7172.zip
csky: Add perf support for C-SKY
This adds basic perf support for all C-SKY CPUs. Hardware events are only supported by 807/810/860. Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Diffstat (limited to 'arch/csky/include')
-rw-r--r--arch/csky/include/asm/perf_event.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/csky/include/asm/perf_event.h b/arch/csky/include/asm/perf_event.h
new file mode 100644
index 000000000000..ea8193122294
--- /dev/null
+++ b/arch/csky/include/asm/perf_event.h
@@ -0,0 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
+
+#ifndef __ASM_CSKY_PERF_EVENT_H
+#define __ASM_CSKY_PERF_EVENT_H
+
+#endif /* __ASM_PERF_EVENT_ELF_H */