summaryrefslogtreecommitdiff
path: root/arch/csky/include
diff options
context:
space:
mode:
authorGuo Ren <ren_guo@c-sky.com>2019-01-02 22:09:25 +0800
committerGuo Ren <ren_guo@c-sky.com>2019-01-02 22:17:11 +0800
commitf50fd2d8524c15b08da9e7e9d84752f0f1be7172 (patch)
tree063f9ff5983ddf5973269d8386245b5329766e28 /arch/csky/include
parent6256734f9173b19e8dd1e21e04b1398a0137f99b (diff)
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 */