Home
last modified time | relevance | path

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

/system/extras/simpleperf/scripts/
Dannotate.py153 kallsyms = 'binary_cache/kallsyms'
154 if not os.path.isfile(kallsyms):
155 kallsyms = None
160 self.kallsyms = kallsyms
202 if self.kallsyms:
203 lib.SetKallsymsFile(self.kallsyms)
257 if self.kallsyms:
258 lib.SetKallsymsFile(self.kallsyms)
Dreport_sample.py74 report_sample(args.record_file, args.symfs, args.kallsyms, args.show_tracing_data)
Dpprof_proto_generator.py256 kallsyms = 'binary_cache/kallsyms'
257 if os.path.isfile(kallsyms):
258 self.lib.SetKallsymsFile(kallsyms)
/system/extras/simpleperf/
Ddso.h126 static void SetKallsyms(std::string kallsyms) { in SetKallsyms() argument
127 if (!kallsyms.empty()) { in SetKallsyms()
128 kallsyms_ = std::move(kallsyms); in SetKallsyms()
Ddso.cpp611 std::string kallsyms; in LoadSymbols() local
612 if (!android::base::ReadFileToString("/proc/kallsyms", &kallsyms)) { in LoadSymbols()
615 symbols = ReadSymbolsFromKallsyms(kallsyms); in LoadSymbols()
627 std::vector<Symbol> ReadSymbolsFromKallsyms(std::string& kallsyms) { in ReadSymbolsFromKallsyms() argument
635 ProcessKernelSymbols(kallsyms, symbol_callback); in ReadSymbolsFromKallsyms()
Dreport_lib_interface.cpp211 std::string kallsyms; in SetKallsymsFile() local
212 if (!android::base::ReadFileToString(kallsyms_file, &kallsyms)) { in SetKallsymsFile()
216 Dso::SetKallsyms(std::move(kallsyms)); in SetKallsymsFile()
Drecord.cpp917 kallsyms = p; in KernelSymbolRecord()
924 std::string(kallsyms, kallsyms + kallsyms_size).c_str()); in DumpData()
927 KernelSymbolRecord::KernelSymbolRecord(const std::string& kallsyms) { in KernelSymbolRecord() argument
929 kallsyms_size = kallsyms.size(); in KernelSymbolRecord()
930 SetSize(header_size() + 4 + Align(kallsyms.size(), 8)); in KernelSymbolRecord()
935 this->kallsyms = p; in KernelSymbolRecord()
936 memcpy(p, kallsyms.data(), kallsyms_size); in KernelSymbolRecord()
Drecord.h443 const char* kallsyms; member
447 explicit KernelSymbolRecord(const std::string& kallsyms);
Dcmd_report.cpp555 std::string kallsyms; in ParseOptions() local
556 if (!android::base::ReadFileToString(args[i], &kallsyms)) { in ParseOptions()
560 Dso::SetKallsyms(kallsyms); in ParseOptions()
Dcmd_record.cpp1058 std::string kallsyms; in DumpKernelSymbol() local
1061 if (!android::base::ReadFileToString("/proc/kallsyms", &kallsyms)) { in DumpKernelSymbol()
1065 KernelSymbolRecord r(kallsyms); in DumpKernelSymbol()
Dthread_tree.cpp318 Dso::SetKallsyms(std::move(r.kallsyms)); in Update()
/system/extras/simpleperf/scripts/inferno/
Dinferno.py99 kallsyms_file = args.kallsyms