Home
last modified time | relevance | path

Searched refs:indent (Results 1 – 14 of 14) sorted by relevance

/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c95 uint8_t indent) in regs_dump() argument
99 indent, "", in regs_dump()
103 indent, "", in regs_dump()
107 indent, "", in regs_dump()
111 indent, "", in regs_dump()
114 indent, "", in regs_dump()
133 uint8_t indent) in segment_dump() argument
137 indent, "", segment->base, segment->limit, in segment_dump()
141 indent, "", segment->present, segment->dpl, in segment_dump()
145 indent, "", segment->g, segment->avl, in segment_dump()
[all …]
/tools/testing/selftests/kvm/lib/s390x/
Dprocessor.c155 static void virt_dump_ptes(FILE *stream, struct kvm_vm *vm, uint8_t indent, in virt_dump_ptes() argument
165 indent, "", ptea, *pte); in virt_dump_ptes()
169 static void virt_dump_region(FILE *stream, struct kvm_vm *vm, uint8_t indent, in virt_dump_region() argument
179 indent, "", 4 - ((*entry & REGION_ENTRY_TYPE) >> 2), in virt_dump_region()
182 virt_dump_region(stream, vm, indent + 2, in virt_dump_region()
185 virt_dump_ptes(stream, vm, indent + 2, in virt_dump_region()
191 void virt_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent) in virt_dump() argument
196 virt_dump_region(stream, vm, indent, vm->pgd); in virt_dump()
272 void vcpu_dump(FILE *stream, struct kvm_vm *vm, uint32_t vcpuid, uint8_t indent) in vcpu_dump() argument
277 indent, "", vcpu->state->psw_mask, vcpu->state->psw_addr); in vcpu_dump()
/tools/perf/util/intel-pt-decoder/
Dintel-pt-log.c49 int indent) in intel_pt_print_data() argument
53 for (i = 0; i < indent; i++) in intel_pt_print_data()
64 static void intel_pt_print_no_data(uint64_t pos, int indent) in intel_pt_print_no_data() argument
68 for (i = 0; i < indent; i++) in intel_pt_print_no_data()
/tools/testing/selftests/kvm/lib/
Dkvm_util_internal.h67 void virt_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent);
68 void regs_dump(FILE *stream, struct kvm_regs *regs, uint8_t indent);
69 void sregs_dump(FILE *stream, struct kvm_sregs *sregs, uint8_t indent);
Dkvm_util.c1448 void vm_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent) in vm_dump() argument
1453 fprintf(stream, "%*smode: 0x%x\n", indent, "", vm->mode); in vm_dump()
1454 fprintf(stream, "%*sfd: %i\n", indent, "", vm->fd); in vm_dump()
1455 fprintf(stream, "%*spage_size: 0x%x\n", indent, "", vm->page_size); in vm_dump()
1456 fprintf(stream, "%*sMem Regions:\n", indent, ""); in vm_dump()
1460 "host_virt: %p\n", indent + 2, "", in vm_dump()
1464 fprintf(stream, "%*sunused_phy_pages: ", indent + 2, ""); in vm_dump()
1467 fprintf(stream, "%*sMapped Virtual Pages:\n", indent, ""); in vm_dump()
1468 sparsebit_dump(stream, vm->vpages_mapped, indent + 2); in vm_dump()
1469 fprintf(stream, "%*spgd_created: %u\n", indent, "", in vm_dump()
[all …]
Dsparsebit.c873 unsigned int indent) in dump_nodes() argument
886 fprintf(stream, "%*s---- %s nodep: %p\n", indent, "", node_type, nodep); in dump_nodes()
887 fprintf(stream, "%*s parent: %p left: %p right: %p\n", indent, "", in dump_nodes()
890 indent, "", nodep->idx, nodep->mask, nodep->num_after); in dump_nodes()
894 dump_nodes(stream, nodep->left, indent + 2); in dump_nodes()
898 dump_nodes(stream, nodep->right, indent + 2); in dump_nodes()
926 unsigned int indent) in sparsebit_dump_internal() argument
929 fprintf(stream, "%*sroot: %p\n", indent, "", s->root); in sparsebit_dump_internal()
930 fprintf(stream, "%*snum_set: 0x%lx\n", indent, "", s->num_set); in sparsebit_dump_internal()
933 dump_nodes(stream, s->root, indent); in sparsebit_dump_internal()
[all …]
/tools/testing/selftests/kvm/lib/aarch64/
Dprocessor.c187 static void pte_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent, uint64_t page, int level) in pte_dump() argument
200 printf("%*s%s: %lx: %lx at %p\n", indent, "", type[level], pte, *ptep, ptep); in pte_dump()
201 pte_dump(stream, vm, indent + 1, pte_addr(vm, *ptep), level + 1); in pte_dump()
206 void virt_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent) in virt_dump() argument
218 printf("%*spgd: %lx: %lx at %p\n", indent, "", pgd, *ptep, ptep); in virt_dump()
219 pte_dump(stream, vm, indent + 1, pte_addr(vm, *ptep), level); in virt_dump()
305 void vcpu_dump(FILE *stream, struct kvm_vm *vm, uint32_t vcpuid, uint8_t indent) in vcpu_dump() argument
313 indent, "", pstate, pc); in vcpu_dump()
/tools/perf/ui/stdio/
Dhist.c596 static int print_hierarchy_indent(const char *sep, int indent, in print_hierarchy_indent() argument
601 if (sep != NULL || indent < 2) in print_hierarchy_indent()
604 width = (indent - 2) * HIERARCHY_INDENT; in print_hierarchy_indent()
613 int indent; in hists__fprintf_hierarchy_headers() local
621 indent = hists->nr_hpp_node; in hists__fprintf_hierarchy_headers()
624 print_hierarchy_indent(sep, indent, " ", fp); in hists__fprintf_hierarchy_headers()
660 print_hierarchy_indent(sep, indent, dots, fp); in hists__fprintf_hierarchy_headers()
804 unsigned indent; in hists__fprintf() local
827 indent = hists__overhead_width(hists) + 4; in hists__fprintf()
854 fprintf(fp, "%*sno entry >= %.2f%%\n", indent, "", min_pcnt); in hists__fprintf()
/tools/testing/selftests/kvm/include/
Dsparsebit.h66 unsigned int indent);
Dkvm_util.h86 void vm_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent);
88 uint8_t indent);
/tools/perf/util/
Dstat-display.c1050 int idx, indent = 0; in print_table() local
1053 while (tmp[indent] == ' ') in print_table()
1054 indent++; in print_table()
1056 fprintf(output, "%*s# Table of individual measurements:\n", indent, ""); in print_table()
1071 fprintf(output, "\n%*s# Final result:\n", indent, ""); in print_table()
/tools/perf/
Dbuiltin-report.c728 static size_t maps__fprintf_task(struct maps *maps, int indent, FILE *fp) in maps__fprintf_task() argument
737 indent, "", map->start, map->end, in maps__fprintf_task()
749 static int map_groups__fprintf_task(struct map_groups *mg, int indent, FILE *fp) in map_groups__fprintf_task() argument
751 return maps__fprintf_task(&mg->maps, indent, fp); in map_groups__fprintf_task()
/tools/perf/ui/browsers/
Dhists.c1526 int indent = browser->hists->nr_hpp_node - 2; in hist_browser__show_no_entry() local
1566 ui_browser__write_nstring(&browser->b, "", indent * HIERARCHY_INDENT); in hist_browser__show_no_entry()
1567 width -= indent * HIERARCHY_INDENT; in hist_browser__show_no_entry()
1641 int indent = hists->nr_hpp_node - 2; in hists_browser__scnprintf_hierarchy_headers() local
1669 indent * HIERARCHY_INDENT, ""); in hists_browser__scnprintf_hierarchy_headers()
/tools/testing/selftests/tc-testing/
Dtdc.py586 json.dump(testlist, outfile, indent=4)