Index: kernel/generic/include/debug.h
===================================================================
--- kernel/generic/include/debug.h	(revision 9a21f9d1dd5d4e7faa2041845e285c64a93220ff)
+++ kernel/generic/include/debug.h	(revision 0c3e63fff86cbab4d9fa841c7a0b5517d32c6376)
@@ -93,28 +93,17 @@
 #define LOG(format, ...) \
 	do { \
-		printf("%s->%s() at %s:%u: " format "\n", symtab_fmt_name_lookup(CALLER), \
-		    __func__, __FILE__, __LINE__, ##__VA_ARGS__); \
+		printf("%s() from %s at %s:%u: " format "\n", __func__, \
+		    symtab_fmt_name_lookup(CALLER), __FILE__, __LINE__, \
+		    ##__VA_ARGS__); \
 	} while (0)
 
-/** Extensive logging execute macro
- *
- * If CONFIG_LOG is set, the LOG_EXEC() macro
- * will print an information about calling a given
- * function and call it.
- *
- */
-#define LOG_EXEC(fnc) \
-	do { \
-		printf("%s->%s() at %s:%u: " #fnc "\n", symtab_fmt_name_lookup(CALLER), \
-		    __func__, __FILE__, __LINE__); \
-		fnc; \
-	} while (0)
+extern void __cyg_profile_func_enter(void *, void *);
+extern void __cyg_profile_func_exit(void *, void *);
 
 #else /* CONFIG_LOG */
 
 #define LOG(format, ...)
-#define LOG_EXEC(fnc)     fnc
 
-#endif /* CONFOG_LOG */
+#endif /* CONFIG_LOG */
 
 #endif
