Lines Matching defs:comm
808 PerfRecordComm::PerfRecordComm(uint8_t *p) : PerfEventRecord(p, "comm")
821 PerfRecordComm::PerfRecordComm(bool inKernel, u32 pid, u32 tid, const std::string &comm)
822 : PerfEventRecord(PERF_RECORD_COMM, inKernel, "comm")
826 if (strncpy_s(data_.comm, KILO, comm.c_str(), comm.size()) != 0) {
830 header.size = sizeof(header) + sizeof(data_) - KILO + comm.size() + 1;
842 // data_.comm[] is variable-length
851 PRINT_INDENT(indent, "pid %u, tid %u, comm %s\n", data_.pid, data_.tid, data_.comm);
856 HLOGV("pid %u, tid %u, comm %s\n", data_.pid, data_.tid, data_.comm);