summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/include/asm/ftrace.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-06-09 07:25:09 -0400
committerMike Frysinger <vapier@gentoo.org>2009-06-13 07:20:15 -0400
commit1c873be744410e26fb91ee9228c90adff6eabe15 (patch)
treeee326bbd1399e4562e4584b3c1b800c2cfdea285 /arch/blackfin/include/asm/ftrace.h
parent6fa68e7a7f0641e8b7f263141d600877cdc2b5f2 (diff)
downloadblackbird-op-linux-1c873be744410e26fb91ee9228c90adff6eabe15.tar.gz
blackbird-op-linux-1c873be744410e26fb91ee9228c90adff6eabe15.zip
Blackfin: initial support for ftrace
Just the basic ftrace support here -- mcount and the ftrace stub. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/include/asm/ftrace.h')
-rw-r--r--arch/blackfin/include/asm/ftrace.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/arch/blackfin/include/asm/ftrace.h b/arch/blackfin/include/asm/ftrace.h
index 40a8c178f10d..8643680f0f78 100644
--- a/arch/blackfin/include/asm/ftrace.h
+++ b/arch/blackfin/include/asm/ftrace.h
@@ -1 +1,13 @@
-/* empty */
+/*
+ * Blackfin ftrace code
+ *
+ * Copyright 2009 Analog Devices Inc.
+ * Licensed under the GPL-2 or later.
+ */
+
+#ifndef __ASM_BFIN_FTRACE_H__
+#define __ASM_BFIN_FTRACE_H__
+
+#define MCOUNT_INSN_SIZE 8 /* sizeof mcount call: LINK + CALL */
+
+#endif
OpenPOWER on IntegriCloud