Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Devent_fd.cpp50 std::string event_name = GetEventNameByAttr(attr); in OpenEventFile() local
70 PLOG(ERROR) << "open perf_event_file (event " << event_name << ", tid " in OpenEventFile()
74 PLOG(DEBUG) << "open perf_event_file (event " << event_name << ", tid " in OpenEventFile()
83 << event_name << ", tid " << tid << ", cpu " << cpu in OpenEventFile()
87 << event_name << ", tid " << tid << ", cpu " << cpu in OpenEventFile()
93 new EventFd(real_attr, perf_event_fd, event_name, tid, cpu)); in OpenEventFile()
Devent_type.cpp70 std::string event_name = items[0]; in GetTracepointEventTypesFromString() local
73 result.push_back(EventType(event_name, PERF_TYPE_TRACEPOINT, id, "", "")); in GetTracepointEventTypesFromString()
83 for (const auto& event_name : GetSubDirs(system_path)) { in GetTracepointEventTypesFromTraceFs() local
84 std::string id_path = system_path + "/" + event_name + "/id"; in GetTracepointEventTypesFromTraceFs()
95 result.push_back(EventType(system_name + ":" + event_name, PERF_TYPE_TRACEPOINT, id, "", "")); in GetTracepointEventTypesFromTraceFs()
Devent_fd.h95 const std::string& event_name, pid_t tid, int cpu) in EventFd() argument
99 event_name_(event_name), in EventFd()
Devent_selection_set.h53 std::string event_name; member
94 bool AddEventType(const std::string& event_name, size_t* group_id = nullptr);
165 bool BuildAndCheckEventSelection(const std::string& event_name, bool first_event,
Devent_selection_set.cpp137 bool EventSelectionSet::BuildAndCheckEventSelection(const std::string& event_name, bool first_event, in BuildAndCheckEventSelection() argument
139 std::unique_ptr<EventTypeAndModifier> event_type = ParseEventType(event_name); in BuildAndCheckEventSelection()
208 bool EventSelectionSet::AddEventType(const std::string& event_name, size_t* group_id) { in AddEventType() argument
209 return AddEventGroup(std::vector<std::string>(1, event_name), group_id); in AddEventType()
216 for (const auto& event_name : event_names) { in AddEventGroup() local
218 if (!BuildAndCheckEventSelection(event_name, first_event, &selection)) { in AddEventGroup()
596 counters_info.event_name = selection.event_type_modifier.event_type.name; in ReadCounters()
Devent_attr.cpp102 std::string event_name = GetEventNameByAttr(attr); in DumpPerfEventAttr() local
103 PrintIndented(indent, "event_attr: for event type %s\n", event_name.c_str()); in DumpPerfEventAttr()
Drecord_lib_interface.cpp180 std::string name = info.event_modifier.empty() ? info.event_name : in ReadRawCounters()
181 info.event_name + ":" + info.event_modifier; in ReadRawCounters()
Dcmd_stat_test.cpp70 std::string event_name = android::base::StringPrintf("r%zx", event_number); in TEST() local
71 ASSERT_TRUE(StatCmd()->Run({"-e", event_name, "sleep", "1"})); in TEST()
Dcmd_stat.cpp686 counters_info.event_name.c_str(), counter_info.tid, in ShowCounters()
694 counters_info.event_name.c_str(), counter_info.tid, in ShowCounters()
728 CounterSummary(counters_info.event_name, counters_info.event_modifier, in ShowCounters()
Dcmd_record_test.cpp186 std::string event_name = android::base::StringPrintf("r%zx", event_number); in TEST() local
188 ASSERT_TRUE(RunRecordCmd({"-e", event_name}, tmpfile.path)); in TEST()
/system/extras/simpleperf/scripts/inferno/
Dinferno.py75 event_name = tokens[1]
76 record_arg_str += "-c %s -e %s " % (num_events, event_name)
79 log_info("Using event sampling (-c %s -e %s)." % (num_events, event_name))
/system/extras/simpleperf/scripts/
Dreport_html.py576 def _get_event(self, event_name): argument
577 if event_name not in self.events:
578 self.events[event_name] = EventScope(event_name)
579 return self.events[event_name]