Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Devent_fd.cpp48 std::string event_name = "unknown event"; in OpenEventFile() local
51 event_name = event_type->name; in OpenEventFile()
56 PLOG(ERROR) << "open perf_event_file (event " << event_name << ", tid " << tid << ", cpu " in OpenEventFile()
59 PLOG(DEBUG) << "open perf_event_file (event " << event_name << ", tid " << tid << ", cpu " in OpenEventFile()
66 PLOG(ERROR) << "fcntl(FD_CLOEXEC) for perf_event_file (event " << event_name << ", tid " in OpenEventFile()
69 PLOG(DEBUG) << "fcntl(FD_CLOEXEC) for perf_event_file (event " << event_name << ", tid " in OpenEventFile()
74 return std::unique_ptr<EventFd>(new EventFd(perf_event_fd, event_name, tid, cpu)); in OpenEventFile()
Devent_fd.h71 EventFd(int perf_event_fd, const std::string& event_name, pid_t tid, int cpu) in EventFd() argument
74 event_name_(event_name), in EventFd()
Devent_attr.cpp103 std::string event_name = "unknown"; in DumpPerfEventAttr() local
106 event_name = event_type->name; in DumpPerfEventAttr()
109 PrintIndented(indent, "event_attr: for event type %s\n", event_name.c_str()); in DumpPerfEventAttr()
Devent_type.cpp45 for (auto& event_name : event_dirs) { in GetTracepointEventTypes() local
46 std::string id_path = system_path + "/" + event_name + "/id"; in GetTracepointEventTypes()
57 result.push_back(EventType(system_name + ":" + event_name, PERF_TYPE_TRACEPOINT, id)); in GetTracepointEventTypes()
/system/extras/perfprofd/quipper/
Dperf_reader.cc1031 const char* event_name = reinterpret_cast<const char*>(data.ptr + *offset); in ReadEventType() local
1032 CHECK_GT(snprintf(type.name, sizeof(type.name), "%s", event_name), 0); in ReadEventType()