/system/extras/simpleperf/ |
D | event_fd.cpp | 50 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()
|
D | event_type.cpp | 70 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()
|
D | event_fd.h | 95 const std::string& event_name, pid_t tid, int cpu) in EventFd() argument 99 event_name_(event_name), in EventFd()
|
D | event_selection_set.h | 53 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,
|
D | event_selection_set.cpp | 137 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()
|
D | event_attr.cpp | 102 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()
|
D | record_lib_interface.cpp | 180 std::string name = info.event_modifier.empty() ? info.event_name : in ReadRawCounters() 181 info.event_name + ":" + info.event_modifier; in ReadRawCounters()
|
D | cmd_stat_test.cpp | 70 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()
|
D | cmd_stat.cpp | 686 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()
|
D | cmd_record_test.cpp | 186 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/ |
D | inferno.py | 75 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/ |
D | report_html.py | 576 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]
|