Lines Matching defs:indent
828 bool SpeDumpRawData(unsigned char *buf, size_t len, int indent, FILE *outputDump)
840 PRINT_INDENT(indent, ". ... ARM SPE data: size %#zx bytes\n", len);
848 PRINT_INDENT(indent, ".");
849 PRINT_INDENT(indent, " %08zx: ", pos);
851 PRINT_INDENT(indent, " %02x", buf[i]);
854 PRINT_INDENT(indent, " ");
860 PRINT_INDENT(indent, " %s\n", desc);
863 PRINT_INDENT(indent, " Bad packet!\n");
975 void DumpSpeReportHead(int indent, uint32_t type, uint64_t count)
979 PRINT_INDENT(indent, "\nEvent :%s\n", eventName.c_str());
980 PRINT_INDENT(indent, "Samples Count: %" PRIu64 "\n", count);
984 PRINT_INDENT(indent, "%-*s ", FULL_PERCENTAGE_LEN, head.c_str());
986 PRINT_INDENT(indent, "%-*s ", FULL_PERCENTAGE_LEN, eventCount.c_str());
988 PRINT_INDENT(indent, "%-*s ", SPE_PERCENTAGE_COMM_LEN, comm.c_str());
990 PRINT_INDENT(indent, "%-*s ", SPE_PERCENTAGE_PC_LEN, pc.c_str());
992 PRINT_INDENT(indent, "%-*s ", SPE_PERCENTAGE_DSO_LEN, dso.c_str());
994 PRINT_INDENT(indent, "%-*s", SPE_PERCENTAGE_FUNC_LEN, func.c_str());
996 PRINT_INDENT(indent, "%-*s\n", SPE_PERCENTAGE_OFFSET_LEN, offset.c_str());
1000 void DumpSpeReportData(int indent, FILE *outputDump)
1008 PRINT_INDENT(indent, "\n ==== Spe Report Data ====\n");
1011 DumpSpeReportHead(indent, it->first, count);
1013 PRINT_INDENT(indent + 1, "%*.2f%% ", FULL_PERCENTAGE_LEN, it2.second.heating);
1014 PRINT_INDENT(indent + 1, "%-*llu ", FULL_PERCENTAGE_LEN, it2.second.count);
1015 PRINT_INDENT(indent + 1, "%-*s ", SPE_PERCENTAGE_COMM_LEN, it2.second.comm.c_str());
1016 PRINT_INDENT(indent + 1, "0x%-*llx ", SPE_PERCENTAGE_PC_LEN, it2.second.pc);
1017 PRINT_INDENT(indent + 1, "%-*s ", SPE_PERCENTAGE_DSO_LEN, it2.second.SharedObject.c_str());
1018 PRINT_INDENT(indent + 1, "%-*s", SPE_PERCENTAGE_FUNC_LEN, it2.second.Symbol.c_str());
1019 PRINT_INDENT(indent + 1, "0x%llx\n", it2.second.offset);