Snap for 11916799 from 0f3aeecf209ffec5bea7fa86ec9c0c2283454d47 to aml-frc-release
Change-Id: Ia45f8b47a7cce2f59134748f09015742f7c3965b
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...) \