Home
last modified time | relevance | path

Searched refs:READ (Results 1 – 5 of 5) sorted by relevance

/developtools/smartperf_host/trace_streamer/src/parser/ebpf_parser/
Debpf_data_structure.h201 READ = 2, enumerator
205 …{SYS_OPENAT2, OPEN}, {SYS_READ, READ}, {SYS_WRITE, WRITE}, {SYS_PREAD64, READ}, {SYS_PWRITE64,…
206 …{SYS_READV, READ}, {SYS_WRITEV, WRITE}, {SYS_PREADV, READ}, {SYS_PWRITEV, WRITE}, {SYS_CLOSE, CL…
Dfile_system_data_parser.cpp95 if ((type == READ || type == WRITE) && fsFixedHeadrAddr->ret >= 0) { in FileWriteOperation()
163 } else if (fucType == READ or fucType == WRITE) { in GetFileDescriptor()
/developtools/profiler/device/base/src/
Dcommon.cpp63 constexpr int READ = 0; variable
274 CHECK_TRUE(CustomFdClose(fds[READ]) == 0, nullptr, "CustomFdClose failed!"); in CustomPopen()
279 dup2(fds[READ], STDIN_FILENO); // Redirect stdin to pipe in CustomPopen()
280 CHECK_TRUE(CustomFdClose(fds[READ]) == 0, nullptr, "CustomFdClose failed!"); in CustomPopen()
298 … CHECK_TRUE(CustomFdClose(fds[READ]) == 0, nullptr, "%s %d CustomFdClose failed! errno(%s)\n", in CustomPopen()
307 return fdopen(fds[READ], "r"); in CustomPopen()
335 if (fileno(fp) == fds[READ]) { in CustomPclose()
336 fds[READ] = -1; in CustomPclose()
340 CHECK_TRUE(CustomFdClose(fds[READ]) == 0, -1, "CustomFdClose failed!"); in CustomPclose()
357 CHECK_TRUE(fds[READ] != -1 && fds[WRITE] != -1, -1, "END fds[READ/WRITE]=-1"); in CustomPUnblock()
[all …]
/developtools/profiler/device/plugins/hidump_plugin/src/
Dhidump_plugin.cpp41 const int READ = 0; variable
216 close(fd[READ]); in CustomPopen()
221 dup2(fd[READ], 0); // Redirect stdin to pipe in CustomPopen()
233 close(fd[READ]); in CustomPopen()
240 return fdopen(fd[READ], "r"); in CustomPopen()
/developtools/smartperf_host/trace_streamer/test/unittest/ebpf/
Debpf_file_system_test.cpp208 EXPECT_EQ(fileSystemSample.Types()[0], READ);