Searched refs:atrace_marker_fd (Results 1 – 7 of 7) sorted by relevance
/system/core/libcutils/ |
D | trace-dev_test.cpp | 33 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 …]
|
D | trace-container.cpp | 85 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()
|
D | trace-dev.cpp | 33 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()
|
D | trace-host.cpp | 20 int atrace_marker_fd = -1; variable
|
D | trace-dev.inc | 45 int atrace_marker_fd = -1; 169 write(atrace_marker_fd, buf, len); \
|
/system/core/libcutils/include_vndk/cutils/ |
D | trace.h | 138 extern int atrace_marker_fd;
|
/system/core/libcutils/include/cutils/ |
D | trace.h | 138 extern int atrace_marker_fd;
|