/system/extras/simpleperf/ |
D | read_elf_test.cpp | 84 void ParseSymbol(const ElfFileSymbol& symbol, std::map<std::string, ElfFileSymbol>* symbols) { in ParseSymbol() argument 85 (*symbols)[symbol.name] = symbol; in ParseSymbol() 88 static void CheckGlobalVariableSymbols(const std::map<std::string, ElfFileSymbol>& symbols) { in CheckGlobalVariableSymbols() argument 89 auto pos = symbols.find("GlobalVar"); in CheckGlobalVariableSymbols() 90 ASSERT_NE(pos, symbols.end()); in CheckGlobalVariableSymbols() 94 static void CheckFunctionSymbols(const std::map<std::string, ElfFileSymbol>& symbols) { in CheckFunctionSymbols() argument 95 auto pos = symbols.find("GlobalFunc"); in CheckFunctionSymbols() 96 ASSERT_NE(pos, symbols.end()); in CheckFunctionSymbols() 101 void CheckElfFileSymbols(const std::map<std::string, ElfFileSymbol>& symbols) { in CheckElfFileSymbols() argument 102 CheckGlobalVariableSymbols(symbols); in CheckElfFileSymbols() [all …]
|
D | read_dex_file_test.cpp | 28 std::vector<DexFileSymbol> symbols; in TEST() local 29 ASSERT_TRUE(ReadSymbolsFromDexFile(GetTestData("base.vdex"), {0x28}, &symbols)); in TEST() 30 ASSERT_EQ(12435u, symbols.size()); in TEST() 36 ASSERT_NE(std::find(symbols.begin(), symbols.end(), target), symbols.end()); in TEST()
|
D | read_dex_file.cpp | 32 const std::vector<uint64_t>& dex_file_offsets, std::vector<DexFileSymbol>* symbols, in ReadSymbols() argument 47 if (symbols->empty()) { in ReadSymbols() 48 *symbols = std::move(file_syms); in ReadSymbols() 50 symbols->reserve(symbols->size() + file_syms.size()); in ReadSymbols() 51 std::move(std::begin(file_syms), std::end(file_syms), std::back_inserter(*symbols)); in ReadSymbols() 60 std::vector<DexFileSymbol>* symbols) { in ReadSymbolsFromDexFileInMemory() argument 62 dex_file_offsets, symbols, [&](uint64_t offset) -> std::unique_ptr<art_api::dex::DexFile> { in ReadSymbolsFromDexFileInMemory() 81 std::vector<DexFileSymbol>* symbols) { in ReadSymbolsFromDexFile() argument 87 dex_file_offsets, symbols, [&](uint64_t offset) -> std::unique_ptr<art_api::dex::DexFile> { in ReadSymbolsFromDexFile()
|
D | dso.cpp | 362 void Dso::SetSymbols(std::vector<Symbol>* symbols) { in SetSymbols() argument 363 symbols_ = std::move(*symbols); in SetSymbols() 364 symbols->clear(); in SetSymbols() 386 std::vector<Symbol> symbols = LoadSymbols(); in Load() local 388 symbols_ = std::move(symbols); in Load() 391 std::set_union(symbols_.begin(), symbols_.end(), symbols.begin(), symbols.end(), in Load() 414 static void SortAndFixSymbols(std::vector<Symbol>& symbols) { in SortAndFixSymbols() argument 415 std::sort(symbols.begin(), symbols.end(), Symbol::CompareValueByAddr); in SortAndFixSymbols() 417 for (auto& symbol : symbols) { in SortAndFixSymbols() 448 std::vector<Symbol> symbols; in LoadSymbols() local [all …]
|
D | read_dex_file.h | 41 std::vector<DexFileSymbol>* symbols); 44 std::vector<DexFileSymbol>* symbols);
|
D | record_file_writer.cpp | 336 const std::vector<Symbol>& symbols = dso->GetSymbols(); in WriteFileFeatures() local 338 for (const auto& sym : symbols) { in WriteFileFeatures() 358 const std::vector<const Symbol*>& symbols, in WriteFileFeature() argument 361 sizeof(uint64_t) + symbols.size() * (sizeof(uint64_t) + sizeof(uint32_t)); in WriteFileFeature() 362 for (const auto& symbol : symbols) { in WriteFileFeature() 377 uint32_t symbol_count = static_cast<uint32_t>(symbols.size()); in WriteFileFeature() 379 for (const auto& symbol : symbols) { in WriteFileFeature()
|
D | test_util.h | 34 void ParseSymbol(const ElfFileSymbol& symbol, std::map<std::string, ElfFileSymbol>* symbols); 35 void CheckElfFileSymbols(const std::map<std::string, ElfFileSymbol>& symbols);
|
D | record_file_reader.cpp | 463 std::vector<Symbol>* symbols, in ReadFileFeature() argument 494 symbols->clear(); in ReadFileFeature() 495 symbols->reserve(symbol_count); in ReadFileFeature() 503 symbols->emplace_back(name, start_vaddr, len); in ReadFileFeature() 552 std::vector<Symbol> symbols; in LoadBuildIdAndFileFeatures() local 556 &symbols, &dex_file_offsets)) { in LoadBuildIdAndFileFeatures() 557 thread_tree.AddDsoInfo(file_path, file_type, min_vaddr, file_offset_of_min_vaddr, &symbols, in LoadBuildIdAndFileFeatures()
|
D | record_file.h | 82 const std::vector<const Symbol*>& symbols, 157 std::vector<Symbol>* symbols, std::vector<uint64_t>* dex_file_offsets);
|
D | cmd_dumprecord.cpp | 429 std::vector<Symbol> symbols; in DumpFeatureSection() local 435 &symbols, &dex_file_offsets)) { in DumpFeatureSection() 441 for (const auto& symbol : symbols) { in DumpFeatureSection()
|
D | thread_tree.h | 137 std::vector<Symbol>* symbols, const std::vector<uint64_t>& dex_file_offsets);
|
D | dso.h | 185 void SetSymbols(std::vector<Symbol>* symbols);
|
D | thread_tree.cpp | 282 std::vector<Symbol>* symbols, in AddDsoInfo() argument 292 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, &this->memory_, &name, &func_offset)); in TYPED_TEST_P() 78 ASSERT_TRUE(symbols.GetName<TypeParam>(0x500f, &this->memory_, &name, &func_offset)); in TYPED_TEST_P() 83 ASSERT_FALSE(symbols.GetName<TypeParam>(0x4fff, &this->memory_, &name, &func_offset)); in TYPED_TEST_P() 84 ASSERT_FALSE(symbols.GetName<TypeParam>(0x5010, &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, &this->memory_, &name, &func_offset)); in TYPED_TEST_P() 109 symbols.ClearCache(); in TYPED_TEST_P() 110 ASSERT_FALSE(symbols.GetName<TypeParam>(0x5000, &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/extras/simpleperf/runtest/ |
D | runtest.py | 405 symbols = [] 424 symbols.append(cur_symbol) 432 symbols.append(cur_symbol) 474 return symbols 477 symbols = self._read_report_file(report_file, has_callgraph) 478 if not self._check_symbol_overhead_requirements(test, symbols): 481 if not self._check_symbol_children_overhead_requirements(test, symbols): 483 if not self._check_symbol_relation_requirements(test, symbols): 487 def _check_symbol_overhead_requirements(self, test, symbols): argument 491 for symbol in symbols: [all …]
|
/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 | 211 symbols = [] 212 symbols.append(lib.GetSymbolOfCurrentSample()) 215 symbols.append(callchain.entries[i].symbol) 216 for symbol in symbols: 270 symbols = [] 271 symbols.append(lib.GetSymbolOfCurrentSample()) 274 symbols.append(callchain.entries[i].symbol) 286 for j, symbol in enumerate(symbols):
|
D | binary_cache_builder.py | 65 symbols = [lib.GetSymbolOfCurrentSample()] 68 symbols.append(callchain.entries[i].symbol) 70 for symbol in symbols:
|
/system/testing/gtest_extras/ |
D | Android.bp | 35 // functions without getting duplicate symbols. 54 // functions without getting duplicate symbols.
|
/system/extras/simpleperf/doc/ |
D | android_platform_profiling.md | 30 4. Since Android >= O has symbols for system libraries on device, we don't need to use unstripped 31 binaries in `$ANDROID_PRODUCT_OUT/symbols` to report call graphs. However, they are needed to add 38 # Collect unstripped binaries from $ANDROID_PRODUCT_OUT/symbols to binary_cache/. 39 $ python binary_cache_builder.py -lib $ANDROID_PRODUCT_OUT/symbols
|
D | README.md | 25 - [How to solve missing symbols in report?](#how-to-solve-missing-symbols-in-report) 40 needed symbols, device info and recording time. 51 b. Supports reading symbols and debug information from the .gnu_debugdata section, because 162 ### How to solve missing symbols in report? 164 The simpleperf record command collects symbols on device in perf.data. But if the native libraries 165 you use on device are stripped, this will result in a lot of unknown symbols in the report. A
|
/system/bt/vendor_libs/test_vendor_lib/scripts/ |
D | build_and_run.sh | 52 VENDOR_SYMBOLS_REL=/symbols/system/vendor/lib
|
/system/sepolicy/prebuilts/api/30.0/private/ |
D | traced_perf.te | 20 # symbols are usually not mapped into the process space). Not all such files
|
/system/sepolicy/private/ |
D | traced_perf.te | 20 # symbols are usually not mapped into the process space). Not all such files
|