/system/extras/simpleperf/ |
D | read_elf_test.cpp | 76 void ParseSymbol(const ElfFileSymbol& symbol, std::map<std::string, ElfFileSymbol>* symbols) { in ParseSymbol() argument 77 (*symbols)[symbol.name] = symbol; in ParseSymbol() 80 static void CheckGlobalVariableSymbols(const std::map<std::string, ElfFileSymbol>& symbols) { in CheckGlobalVariableSymbols() argument 81 auto pos = symbols.find("GlobalVar"); in CheckGlobalVariableSymbols() 82 ASSERT_NE(pos, symbols.end()); in CheckGlobalVariableSymbols() 86 static void CheckFunctionSymbols(const std::map<std::string, ElfFileSymbol>& symbols) { in CheckFunctionSymbols() argument 87 auto pos = symbols.find("GlobalFunc"); in CheckFunctionSymbols() 88 ASSERT_NE(pos, symbols.end()); in CheckFunctionSymbols() 93 void CheckElfFileSymbols(const std::map<std::string, ElfFileSymbol>& symbols) { in CheckElfFileSymbols() argument 94 CheckGlobalVariableSymbols(symbols); in CheckElfFileSymbols() [all …]
|
D | test_util.h | 30 void ParseSymbol(const ElfFileSymbol& symbol, std::map<std::string, ElfFileSymbol>* symbols); 31 void CheckElfFileSymbols(const std::map<std::string, ElfFileSymbol>& symbols);
|
D | read_apk_test.cpp | 70 std::map<std::string, ElfFileSymbol> symbols; in TEST() local 73 std::bind(ParseSymbol, std::placeholders::_1, &symbols))); in TEST() 74 CheckElfFileSymbols(symbols); in TEST()
|
D | dso.cpp | 244 void Dso::SetSymbols(std::vector<Symbol>* symbols) { in SetSymbols() argument 245 symbols_ = std::move(*symbols); in SetSymbols() 246 symbols->clear(); in SetSymbols() 333 std::vector<Symbol>* symbols) { in KernelSymbolCallback() argument 335 symbols->emplace_back(Symbol(kernel_symbol.name, kernel_symbol.addr, 0)); in KernelSymbolCallback() 341 std::vector<Symbol>* symbols) { in VmlinuxSymbolCallback() argument 343 symbols->emplace_back( in VmlinuxSymbolCallback() 431 std::vector<Symbol>* symbols) { in ElfFileSymbolCallback() argument 433 symbols->emplace_back(elf_symbol.name, elf_symbol.vaddr, elf_symbol.len); in ElfFileSymbolCallback()
|
D | record_file_writer.cpp | 310 const std::vector<Symbol>& symbols = dso->GetSymbols(); in WriteFileFeatures() local 312 for (const auto& sym : symbols) { in WriteFileFeatures() 329 const std::vector<const Symbol*>& symbols) { in WriteFileFeature() argument 331 sizeof(uint64_t) + symbols.size() * (sizeof(uint64_t) + sizeof(uint32_t)); in WriteFileFeature() 332 for (const auto& symbol : symbols) { in WriteFileFeature() 341 uint32_t symbol_count = static_cast<uint32_t>(symbols.size()); in WriteFileFeature() 343 for (const auto& symbol : symbols) { in WriteFileFeature()
|
D | record_file_reader.cpp | 446 std::vector<Symbol>* symbols) { in ReadFileFeature() argument 476 symbols->clear(); in ReadFileFeature() 477 symbols->reserve(symbol_count); in ReadFileFeature() 485 symbols->emplace_back(name, start_vaddr, len); in ReadFileFeature() 520 std::vector<Symbol> symbols; in LoadBuildIdAndFileFeatures() local 523 read_pos, &file_path, &file_type, &min_vaddr, &symbols)) { in LoadBuildIdAndFileFeatures() 524 thread_tree.AddDsoInfo(file_path, file_type, min_vaddr, &symbols); in LoadBuildIdAndFileFeatures()
|
D | cmd_dumprecord.cpp | 237 std::vector<Symbol> symbols; in DumpFeatureSection() local 242 &symbols)) { in DumpFeatureSection() 247 for (const auto& symbol : symbols) { in DumpFeatureSection()
|
D | record_file.h | 61 const std::vector<const Symbol*>& symbols); 152 std::vector<Symbol>* symbols);
|
D | dso.h | 141 void SetSymbols(std::vector<Symbol>* symbols);
|
D | thread_tree.h | 119 uint64_t min_vaddr, std::vector<Symbol>* symbols);
|
D | cmd_record_test.cpp | 391 std::vector<Symbol> symbols; in TEST() local 394 while (reader->ReadFileFeature(read_pos, &file_path, &file_type, &min_vaddr, &symbols)) { in TEST() 395 if (file_type == DSO_KERNEL && !symbols.empty()) { in TEST()
|
D | thread_tree.cpp | 282 uint64_t min_vaddr, std::vector<Symbol>* symbols) { in AddDsoInfo() argument 291 dso->SetSymbols(symbols); in AddDsoInfo()
|
/system/core/libunwindstack/tests/ |
D | SymbolsTest.cpp | 61 Symbols symbols(0x1000, sizeof(TypeParam), sizeof(TypeParam), 0x2000, 0x100); in TYPED_TEST_P() local 73 ASSERT_TRUE(symbols.GetName<TypeParam>(0x5000, 0, &this->memory_, &name, &func_offset)); in TYPED_TEST_P() 78 ASSERT_TRUE(symbols.GetName<TypeParam>(0x500f, 0, &this->memory_, &name, &func_offset)); in TYPED_TEST_P() 83 ASSERT_FALSE(symbols.GetName<TypeParam>(0x4fff, 0, &this->memory_, &name, &func_offset)); in TYPED_TEST_P() 84 ASSERT_FALSE(symbols.GetName<TypeParam>(0x5010, 0, &this->memory_, &name, &func_offset)); in TYPED_TEST_P() 88 Symbols symbols(0x1000, sizeof(TypeParam), sizeof(TypeParam), 0x2000, 0x100); in TYPED_TEST_P() local 101 ASSERT_TRUE(symbols.GetName<TypeParam>(0x5000, 0, &this->memory_, &name, &func_offset)); in TYPED_TEST_P() 109 symbols.ClearCache(); in TYPED_TEST_P() 110 ASSERT_FALSE(symbols.GetName<TypeParam>(0x5000, 0, &this->memory_, &name, &func_offset)); in TYPED_TEST_P() 117 symbols.ClearCache(); in TYPED_TEST_P() [all …]
|
/system/extras/tools/ |
D | graph_lockdep_chains | 217 sort -u > /tmp/${progname}.symbols 227 if [ -s /tmp/${progname}.symbols ]; then 231 grep "${filter}" /tmp/${progname}.symbols | 233 grep -v "${filter}" /tmp/${progname}.symbols | 238 grep "${filter}" /tmp/${progname}.symbols | 240 grep -v "${filter}" /tmp/${progname}.symbols | 248 if [ -s /tmp/${progname}.symbols ]; then 251 fgrep -f /tmp/${progname}.symbols /tmp/${progname}.formed 266 if [ -s /tmp/${progname}.symbols ]; then 267 beautify < /tmp/${progname}.symbols |
|
/system/core/libbacktrace/ |
D | backtrace_offline_test.cpp | 57 std::vector<FunctionSymbol> symbols = { in GetFunctionSymbols() local 68 symbols.begin(), symbols.end(), in GetFunctionSymbols() 70 for (size_t i = 0; i + 1 < symbols.size(); ++i) { in GetFunctionSymbols() 71 symbols[i].end = symbols[i + 1].start; in GetFunctionSymbols() 73 return symbols; in GetFunctionSymbols() 181 const std::vector<FunctionSymbol>& symbols) { in FunctionNameForAddress() argument 182 for (auto& symbol : symbols) { in FunctionNameForAddress() 197 std::vector<FunctionSymbol> symbols; member 236 testdata->symbols.resize(testdata->symbols.size() + 1); in ReadOfflineTestData() 237 FunctionSymbol& symbol = testdata->symbols.back(); in ReadOfflineTestData() [all …]
|
/system/extras/simpleperf/runtest/ |
D | runtest.py | 408 symbols = [] 427 symbols.append(cur_symbol) 435 symbols.append(cur_symbol) 477 return symbols 480 symbols = self._read_report_file(report_file, has_callgraph) 481 if not self._check_symbol_overhead_requirements(test, symbols): 484 if not self._check_symbol_children_overhead_requirements(test, symbols): 486 if not self._check_symbol_relation_requirements(test, symbols): 490 def _check_symbol_overhead_requirements(self, test, symbols): argument 494 for symbol in symbols: [all …]
|
/system/extras/perfprofd/ |
D | perf_data_converter.cc | 60 RangeMap<std::string, uint64_t> symbols; in AddSymbolInfo() member 118 dso_data->symbols.Insert(symbol, file_addr); in AddSymbolInfo() 138 if (dso.symbols.empty()) { in AddSymbolInfo() 146 for (auto& aggr_sym : dso.symbols) { in AddSymbolInfo()
|
D | perfprofd_record.proto | 27 repeated Symbol symbols = 4; field
|
/system/media/ |
D | CleanSpec.mk | 56 $(call add-clean-step, rm -f $(PRODUCT_OUT)/symbols/system/lib/libalsautils.so) 57 $(call add-clean-step, rm -f $(PRODUCT_OUT)/symbols/system/lib64/libalsautils.so)
|
/system/extras/simpleperf/scripts/ |
D | annotate.py | 344 symbols = [] 345 symbols.append(lib.GetSymbolOfCurrentSample()) 348 symbols.append(callchain.entries[i].symbol) 349 for symbol in symbols: 400 symbols = [] 401 symbols.append(lib.GetSymbolOfCurrentSample()) 404 symbols.append(callchain.entries[i].symbol) 416 for i in range(len(symbols)): 417 symbol = symbols[i]
|
D | binary_cache_builder.py | 79 symbols = [lib.GetSymbolOfCurrentSample()] 82 symbols.append(callchain.entries[i].symbol) 84 for symbol in symbols:
|
/system/bt/vendor_libs/test_vendor_lib/scripts/ |
D | build_and_run.sh | 52 VENDOR_SYMBOLS_REL=/symbols/system/vendor/lib
|
/system/tools/aidl/ |
D | aidl_language_l.ll | 52 /* symbols */
|
/system/bt/main/ |
D | Android.bp | 82 // References to global symbols and functions should bind to the library
|
/system/chre/build/sys_support/qcom/ |
D | uimage_v2.lcs | 86 /* Standard symbols for Text */
|