Home
last modified time | relevance | path

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

/developtools/smartperf_host/trace_streamer/src/parser/ebpf_parser/
Debpf_stdtype.h196 READ = 2, enumerator
200 …{SYS_OPENAT2, OPEN}, {SYS_READ, READ}, {SYS_WRITE, WRITE}, {SYS_PREAD64, READ}, {SYS_PWRITE64,…
201 …{SYS_READV, READ}, {SYS_WRITEV, WRITE}, {SYS_PREADV, READ}, {SYS_PWRITEV, WRITE}, {SYS_CLOSE, CL…
Dfile_system_data_parser.cpp114 if ((type == READ || type == WRITE) && fsFixedHeadrAddr->ret >= 0) { in ParseFileSystemEvent()
133 } else if (fucType == READ or fucType == WRITE) { in GetFileDescriptor()
/developtools/profiler/host/smartperf/trace_streamer/src/parser/ebpf_parser/
Debpf_stdtype.h196 READ = 2, enumerator
200 …{SYS_OPENAT2, OPEN}, {SYS_READ, READ}, {SYS_WRITE, WRITE}, {SYS_PREAD64, READ}, {SYS_PWRITE64,…
201 …{SYS_READV, READ}, {SYS_WRITEV, WRITE}, {SYS_PREADV, READ}, {SYS_PWRITEV, WRITE}, {SYS_CLOSE, CL…
Dfile_system_data_parser.cpp113 if ((type == READ || type == WRITE) && fsFixedHeadrAddr->ret >= 0) { in ParseFileSystemEvent()
132 } else if (fucType == READ or fucType == WRITE) { in GetFileDescriptor()
/developtools/profiler/device/base/src/
Dcommon.cpp47 constexpr int READ = 0; variable
257 CHECK_TRUE(CustomFdClose(fds[READ]) == 0, nullptr, "CustomFdClose failed!"); in CustomPopen()
262 dup2(fds[READ], STDIN_FILENO); // Redirect stdin to pipe in CustomPopen()
263 CHECK_TRUE(CustomFdClose(fds[READ]) == 0, nullptr, "CustomFdClose failed!"); in CustomPopen()
281 … CHECK_TRUE(CustomFdClose(fds[READ]) == 0, nullptr, "%s %d CustomFdClose failed! errno(%s)\n", in CustomPopen()
290 return fdopen(fds[READ], "r"); in CustomPopen()
318 if (fileno(fp) == fds[READ]) { in CustomPclose()
319 fds[READ] = -1; in CustomPclose()
323 CHECK_TRUE(CustomFdClose(fds[READ]) == 0, -1, "CustomFdClose failed!"); in CustomPclose()
340 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.cpp38 const int READ = 0; variable
190 close(fd[READ]); in CustomPopen()
195 dup2(fd[READ], 0); // Redirect stdin to pipe in CustomPopen()
207 close(fd[READ]); in CustomPopen()
214 return fdopen(fd[READ], "r"); in CustomPopen()
/developtools/profiler/device/plugins/hilog_plugin/src/
Dhilog_plugin.cpp43 const int READ = 0; variable
488 close(fd[READ]); in CustomPopen()
493 dup2(fd[READ], 0); // Redirect stdin to pipe in CustomPopen()
512 close(fd[READ]); in CustomPopen()
519 return fdopen(fd[READ], "r"); in CustomPopen()
/developtools/smartperf_host/trace_streamer/test/unittest/
Debpf_file_system_test.cpp274 EXPECT_EQ(type, READ);