summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYabin Cui2015-04-15 16:50:27 -0500
committerYabin Cui2015-04-16 12:41:16 -0500
commita8ac32c7815569add9ed3d729864d3b9cdbb5fce (patch)
tree26020b2d12275fcf83014f4edae3ad2b3a98c1d0 /libcutils/trace-host.c
parent89e2f942181feab45e7dab5b6d3183da0475a295 (diff)
downloadplatform-system-core-a8ac32c7815569add9ed3d729864d3b9cdbb5fce.tar.gz
platform-system-core-a8ac32c7815569add9ed3d729864d3b9cdbb5fce.tar.xz
platform-system-core-a8ac32c7815569add9ed3d729864d3b9cdbb5fce.zip
Move trace.h to stdatomic.
Bug: 20262261 Change-Id: Idaf984786804eb76c285f38b11abbbc0d3706509
Diffstat (limited to 'libcutils/trace-host.c')
-rw-r--r--libcutils/trace-host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcutils/trace-host.c b/libcutils/trace-host.c
index b87e54351..6478e3e52 100644
--- a/libcutils/trace-host.c
+++ b/libcutils/trace-host.c
@@ -20,7 +20,7 @@
20#define __unused __attribute__((__unused__)) 20#define __unused __attribute__((__unused__))
21#endif 21#endif
22 22
23volatile int32_t atrace_is_ready = 1; 23atomic_bool atrace_is_ready = ATOMIC_VAR_INIT(true);
24int atrace_marker_fd = -1; 24int atrace_marker_fd = -1;
25uint64_t atrace_enabled_tags = 0; 25uint64_t atrace_enabled_tags = 0;
26 26