Lines Matching refs:pc
119 unsigned long pc = 0;
120 if (sscanf(buff, "PC %lx %s %s %s %d", (unsigned long*)&pc,
122 pc != 0) {
129 (*g_pc_info_map)[pc] = pc_info;
130 // Printf("***** PC %lx %s\n", pc, rtn);
160 unsigned long pc, a, info;
163 if (5 == fscanf(file, "%s%x%lx%lx%lx", name, &tid, &pc, &a, &info)) {
164 event->Init(EventNameToEventType(name), tid, pc, a, info);
170 bool ProcessCodePosition(FILE *input, int *pc, string *str) {
171 bool ok = Read<int>(input, pc);
180 // Read information about event in format: [[[info] address] pc] tid.
184 int pc = 0;
209 ok &= Read<int>(input, &pc);
222 event->Init(type, (int)tid, pc, address, (int)extra);
231 int pc;
243 ok &= ProcessCodePosition(input, &pc, &str);
244 if (sscanf(str.c_str(), "%s %s %d", rtn, file, &line) == 3 && pc != 0) {
251 (*g_pc_info_map)[pc] = pc_info;
272 int pc;
281 ok &= ProcessCodePosition(input, &pc, &str);
282 fprintf(output, "#PC %x java %s\n", pc, str.c_str());
291 event.tid(), (unsigned int)event.pc(),
323 void PcToStrings(uintptr_t pc, bool demangle,
326 if (g_pc_info_map->count(pc) == 0) {
333 PcInfo &info = (*g_pc_info_map)[pc];
342 string PcToRtnName(uintptr_t pc, bool demangle) {
345 PcToStrings(pc, demangle, &img, &rtn, &file, &line);