Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Devent_fd.cpp50 std::string event_name = GetEventNameByAttr(attr); in OpenEventFile() local
66 PLOG(ERROR) << "open perf_event_file (event " << event_name << ", tid " in OpenEventFile()
70 PLOG(DEBUG) << "open perf_event_file (event " << event_name << ", tid " in OpenEventFile()
79 << event_name << ", tid " << tid << ", cpu " << cpu in OpenEventFile()
83 << event_name << ", tid " << tid << ", cpu " << cpu in OpenEventFile()
89 new EventFd(real_attr, perf_event_fd, event_name, tid, cpu)); in OpenEventFile()
Devent_type.cpp45 for (const auto& event_name : GetSubDirs(system_path)) { 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()
Devent_fd.h87 const std::string& event_name, pid_t tid, int cpu) in EventFd() argument
91 event_name_(event_name), in EventFd()
Devent_selection_set.h47 std::string event_name; member
74 bool AddEventType(const std::string& event_name);
138 bool BuildAndCheckEventSelection(const std::string& event_name,
Devent_selection_set.cpp57 const std::string& event_name, EventSelection* selection) { in BuildAndCheckEventSelection() argument
58 std::unique_ptr<EventTypeAndModifier> event_type = ParseEventType(event_name); in BuildAndCheckEventSelection()
100 bool EventSelectionSet::AddEventType(const std::string& event_name) { in AddEventType() argument
101 return AddEventGroup(std::vector<std::string>(1, event_name)); in AddEventType()
107 for (const auto& event_name : event_names) { in AddEventGroup() local
109 if (!BuildAndCheckEventSelection(event_name, &selection)) { in AddEventGroup()
468 counters_info.event_name = selection.event_type_modifier.event_type.name; in ReadCounters()
Devent_attr.cpp101 std::string event_name = GetEventNameByAttr(attr); in DumpPerfEventAttr() local
102 PrintIndented(indent, "event_attr: for event type %s\n", event_name.c_str()); in DumpPerfEventAttr()
Dcmd_stat.cpp581 counters_info.event_name.c_str(), counter_info.tid, in ShowCounters()
589 counters_info.event_name.c_str(), counter_info.tid, in ShowCounters()
613 CounterSummary(counters_info.event_name, counters_info.event_modifier, in ShowCounters()
/system/extras/perfprofd/quipper/
Dperf_reader.cc1078 const char* event_name = reinterpret_cast<const char*>(data.ptr + *offset); in ReadEventType() local
1079 CHECK_GT(snprintf(type.name, sizeof(type.name), "%s", event_name), 0); in ReadEventType()