Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d8379696 authored by Tim Murray's avatar Tim Murray
Browse files

Make trace macros slightly more robust

Change-Id: I9544eb7b27fc1a971cabadd8d5b4b4b80678febf
parent 80d7fd86
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -17,6 +17,8 @@
#ifndef ANDROID_TRACE_H
#define ANDROID_TRACE_H

#ifdef HAVE_ANDROID_OS

#include <fcntl.h>
#include <stdint.h>
#include <stdio.h>
@@ -57,4 +59,11 @@ private:

}; // namespace android

#else // HAVE_ANDROID_OS

#define ATRACE_NAME(...)
#define ATRACE_CALL()

#endif // HAVE_ANDROID_OS

#endif // ANDROID_TRACE_H