Home
last modified time | relevance | path

Searched refs:atrace_marker_fd (Results 1 – 7 of 7) sorted by relevance

/system/core/libcutils/
Dtrace-dev_test.cpp33 atrace_marker_fd = tmp_file_.fd; in SetUp()
37 atrace_marker_fd = -1; in TearDown()
54 ASSERT_EQ(0, lseek(atrace_marker_fd, 0, SEEK_SET)); in TEST_F()
57 ASSERT_TRUE(android::base::ReadFdToString(atrace_marker_fd, &actual)); in TEST_F()
67 ASSERT_EQ(ATRACE_MESSAGE_LENGTH - 1, lseek(atrace_marker_fd, 0, SEEK_CUR)); in TEST_F()
68 ASSERT_EQ(0, lseek(atrace_marker_fd, 0, SEEK_SET)); in TEST_F()
71 ASSERT_TRUE(android::base::ReadFdToString(atrace_marker_fd, &actual)); in TEST_F()
76 ASSERT_EQ(0, lseek(atrace_marker_fd, 0, SEEK_SET)); in TEST_F()
79 EXPECT_EQ(ATRACE_MESSAGE_LENGTH - 1, lseek(atrace_marker_fd, 0, SEEK_CUR)); in TEST_F()
80 ASSERT_EQ(0, lseek(atrace_marker_fd, 0, SEEK_SET)); in TEST_F()
[all …]
Dtrace-container.cpp85 atrace_marker_fd = open("/sys/kernel/debug/tracing/trace_marker", O_WRONLY | O_CLOEXEC); in atrace_init_once()
86 if (atrace_marker_fd < 0) { in atrace_init_once()
170 if (atrace_marker_fd < 0) return; in atrace_begin_body()
182 if (atrace_marker_fd < 0) return; in atrace_end_body()
194 if (atrace_marker_fd < 0) return; in atrace_async_begin_body()
206 if (atrace_marker_fd < 0) return; in atrace_async_end_body()
218 if (atrace_marker_fd < 0) return; in atrace_int_body()
230 if (atrace_marker_fd < 0) return; in atrace_int64_body()
Dtrace-dev.cpp33 atrace_marker_fd = open("/sys/kernel/debug/tracing/trace_marker", O_WRONLY | O_CLOEXEC); in atrace_init_once()
34 if (atrace_marker_fd == -1) { in atrace_init_once()
Dtrace-host.cpp20 int atrace_marker_fd = -1; variable
Dtrace-dev.inc45 int atrace_marker_fd = -1;
169 write(atrace_marker_fd, buf, len); \
/system/core/libcutils/include_vndk/cutils/
Dtrace.h138 extern int atrace_marker_fd;
/system/core/libcutils/include/cutils/
Dtrace.h138 extern int atrace_marker_fd;