Home
last modified time | relevance | path

Searched refs:event_config (Results 1 – 7 of 7) sorted by relevance

/system/extras/simpleperf/
Dgenerate_event_type_table.py19 def gen_event_type_entry_str(event_type_name, event_type, event_config, description='', argument
26 event_type_name, event_type, event_config, description, limited_arch)
28 def gen_arm_event_type_entry_str(event_type_name, event_type, event_config, description): argument
29 return gen_event_type_entry_str(event_type_name, event_type, event_config, description,
47 event_config = "PERF_COUNT_HW_" + config.replace('-', '_').upper()
50 event_type_name, "PERF_TYPE_HARDWARE", event_config)
70 event_config = config[1]
73 event_config = "PERF_COUNT_SW_" + config.replace('-', '_').upper()
76 event_type_name, "PERF_TYPE_SOFTWARE", event_config)
107 event_config = "((%s) | (%s << 8) | (%s << 16))" % (
[all …]
DIOEventLoop.cpp62 event_config* cfg = event_config_new(); in EnsureInit()
/system/extras/perfprofd/
Dconfigreader.cc457 config->event_config.clear(); in FillConfig()
463 config->event_config.push_back(std::move(elem)); in FillConfig()
553 for (const auto& elem : config.event_config) { in ConfigToString()
603 for (const auto& event_config : in.event_config()) { in ProtoToConfig() local
606 if (event_config.counters_size() == 0) { in ProtoToConfig()
610 config_elem.events.reserve(event_config.counters_size()); in ProtoToConfig()
611 for (const std::string& str : event_config.counters()) { in ProtoToConfig()
614 config_elem.group = event_config.has_as_group() ? event_config.as_group() : false; in ProtoToConfig()
615 config_elem.sampling_period = event_config.has_sampling_period() in ProtoToConfig()
616 ? event_config.sampling_period() in ProtoToConfig()
[all …]
Dconfig.h114 std::vector<PerfCounterConfigElem> event_config; member
Dperfprofd_perf.cc91 if (!config.event_config.empty()) { in InvokePerf()
93 for (const auto& event_set : config.event_config) { in InvokePerf()
Dperfprofd_config.proto95 repeated PerfConfigElement event_config = 23; field
/system/extras/perfprofd/tests/
Dperfprofd_test.cc671 if (config.event_config.size() <= index) { in TEST_F()
672 return ::testing::AssertionFailure() << "Not enough entries " << config.event_config.size() in TEST_F()
675 const auto& elem = config.event_config[index]; in TEST_F()
1355 const std::string& event_config, in SetupAndInvoke() argument
1384 runner.addToConfig(event_config); in SetupAndInvoke()