aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/include/asm/trace.h
diff options
context:
space:
mode:
authorRobin Getz <robin.getz@analog.com>2010-03-15 13:42:07 -0400
committerMike Frysinger <vapier@gentoo.org>2010-05-21 09:40:19 -0400
commit9a95e2f1008ee433c496a81628cdde67acc8e4b1 (patch)
tree44f08c82c40a664f6757da01e3f9e7b7f719afab /arch/blackfin/include/asm/trace.h
parentd60805ad470aef52465f3dc982212f559d9f661b (diff)
Blackfin: make hardware trace output a little more useful
Decode the vast majority of insns that appear in the trace buffer to get a better idea of what's going on at a glance. Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/include/asm/trace.h')
-rw-r--r--arch/blackfin/include/asm/trace.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/blackfin/include/asm/trace.h b/arch/blackfin/include/asm/trace.h
index 91179395baa8..33589a29b8d8 100644
--- a/arch/blackfin/include/asm/trace.h
+++ b/arch/blackfin/include/asm/trace.h
@@ -25,10 +25,10 @@ extern unsigned long trace_buff_offset;
25extern unsigned long software_trace_buff[]; 25extern unsigned long software_trace_buff[];
26#if defined(CONFIG_DEBUG_VERBOSE) 26#if defined(CONFIG_DEBUG_VERBOSE)
27extern void decode_address(char *buf, unsigned long address); 27extern void decode_address(char *buf, unsigned long address);
28extern bool get_instruction(unsigned short *val, unsigned short *address); 28extern bool get_instruction(unsigned int *val, unsigned short *address);
29#else 29#else
30#define decode_address(buf, address) 30static inline void decode_address(char *buf, unsigned long address) { }
31#define get_instruction(val, address) 0 31static inline bool get_instruction(unsigned int *val, unsigned short *address) { return false; }
32#endif 32#endif
33 33
34/* Trace Macros for C files */ 34/* Trace Macros for C files */