trusty: reduce startup logging
Try to make better use of the early_log buffer in release builds by
reducing fixed / predictable logging.
Bug: 340819408
Test: build and flash target
Change-Id: Id56b0a7715af25b56ad7318f897d740c12ad1bc8
diff --git a/debug.h b/debug.h
index 84207f7..62c8294 100644
--- a/debug.h
+++ b/debug.h
@@ -27,9 +27,9 @@
TRACE_LEVEL_READ,
};
-#define TRACEFF(f, str, x...) \
- do { \
- fprintf(f, "%s:%d: " str, __PRETTY_FUNCTION__, __LINE__, ##x); \
+#define TRACEFF(f, str, x...) \
+ do { \
+ fprintf(f, "%s():%d: " str, __func__, __LINE__, ##x); \
} while (0)
#undef LTRACEF_LEVEL
#define LTRACEF_LEVEL(level, x...) \