Home
last modified time | relevance | path

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

/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c90 uint8_t indent) in regs_dump() argument
94 indent, "", in regs_dump()
98 indent, "", in regs_dump()
102 indent, "", in regs_dump()
106 indent, "", in regs_dump()
109 indent, "", in regs_dump()
129 uint8_t indent) in segment_dump() argument
133 indent, "", segment->base, segment->limit, in segment_dump()
137 indent, "", segment->present, segment->dpl, in segment_dump()
141 indent, "", segment->g, segment->avl, in segment_dump()
[all …]
/tools/testing/selftests/kvm/lib/s390x/
Dprocessor.c119 static void virt_dump_ptes(FILE *stream, struct kvm_vm *vm, uint8_t indent, in virt_dump_ptes() argument
129 indent, "", ptea, *pte); in virt_dump_ptes()
133 static void virt_dump_region(FILE *stream, struct kvm_vm *vm, uint8_t indent, in virt_dump_region() argument
143 indent, "", 4 - ((*entry & REGION_ENTRY_TYPE) >> 2), in virt_dump_region()
146 virt_dump_region(stream, vm, indent + 2, in virt_dump_region()
149 virt_dump_ptes(stream, vm, indent + 2, in virt_dump_region()
155 void virt_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent) in virt_dump() argument
160 virt_dump_region(stream, vm, indent, vm->pgd); in virt_dump()
234 void vcpu_dump(FILE *stream, struct kvm_vm *vm, uint32_t vcpuid, uint8_t indent) in vcpu_dump() argument
242 indent, "", vcpu->state->psw_mask, vcpu->state->psw_addr); in vcpu_dump()
/tools/testing/selftests/kvm/lib/
Dkvm_util_internal.h74 void virt_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent);
91 void regs_dump(FILE *stream, struct kvm_regs *regs, uint8_t indent);
108 void sregs_dump(FILE *stream, struct kvm_sregs *sregs, uint8_t indent);
Dkvm_util.c1600 void vm_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent) in vm_dump() argument
1605 fprintf(stream, "%*smode: 0x%x\n", indent, "", vm->mode); in vm_dump()
1606 fprintf(stream, "%*sfd: %i\n", indent, "", vm->fd); in vm_dump()
1607 fprintf(stream, "%*spage_size: 0x%x\n", indent, "", vm->page_size); in vm_dump()
1608 fprintf(stream, "%*sMem Regions:\n", indent, ""); in vm_dump()
1611 "host_virt: %p\n", indent + 2, "", in vm_dump()
1615 fprintf(stream, "%*sunused_phy_pages: ", indent + 2, ""); in vm_dump()
1618 fprintf(stream, "%*sMapped Virtual Pages:\n", indent, ""); in vm_dump()
1619 sparsebit_dump(stream, vm->vpages_mapped, indent + 2); in vm_dump()
1620 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/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/aarch64/
Dprocessor.c186 static void pte_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent, uint64_t page, int level) in pte_dump() argument
199 fprintf(stream, "%*s%s: %lx: %lx at %p\n", indent, "", type[level], pte, *ptep, ptep); in pte_dump()
200 pte_dump(stream, vm, indent + 1, pte_addr(vm, *ptep), level + 1); in pte_dump()
205 void virt_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent) in virt_dump() argument
217 fprintf(stream, "%*spgd: %lx: %lx at %p\n", indent, "", pgd, *ptep, ptep); in virt_dump()
218 pte_dump(stream, vm, indent + 1, pte_addr(vm, *ptep), level); in virt_dump()
304 void vcpu_dump(FILE *stream, struct kvm_vm *vm, uint32_t vcpuid, uint8_t indent) in vcpu_dump() argument
312 indent, "", pstate, pc); in vcpu_dump()
/tools/perf/ui/stdio/
Dhist.c619 static int print_hierarchy_indent(const char *sep, int indent, in print_hierarchy_indent() argument
624 if (sep != NULL || indent < 2) in print_hierarchy_indent()
627 width = (indent - 2) * HIERARCHY_INDENT; in print_hierarchy_indent()
636 int indent; in hists__fprintf_hierarchy_headers() local
644 indent = hists->nr_hpp_node; in hists__fprintf_hierarchy_headers()
647 print_hierarchy_indent(sep, indent, " ", fp); in hists__fprintf_hierarchy_headers()
683 print_hierarchy_indent(sep, indent, dots, fp); in hists__fprintf_hierarchy_headers()
827 unsigned indent; in hists__fprintf() local
850 indent = hists__overhead_width(hists) + 4; in hists__fprintf()
881 fprintf(fp, "%*sno entry >= %.2f%%\n", indent, "", min_pcnt); in hists__fprintf()
/tools/testing/kunit/
Dkunit_json.py55 json_obj = json.dumps(test_group, indent=4)
/tools/testing/selftests/kvm/include/
Dsparsebit.h66 unsigned int indent);
Dkvm_util.h84 void vm_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent);
103 uint8_t indent);
/tools/perf/util/
Dstat-display.c1062 int idx, indent = 0; in print_table() local
1065 while (tmp[indent] == ' ') in print_table()
1066 indent++; in print_table()
1068 fprintf(output, "%*s# Table of individual measurements:\n", indent, ""); in print_table()
1083 fprintf(output, "\n%*s# Final result:\n", indent, ""); in print_table()
/tools/perf/ui/browsers/
Dhists.c1576 int indent = browser->hists->nr_hpp_node - 2; in hist_browser__show_no_entry() local
1616 ui_browser__write_nstring(&browser->b, "", indent * HIERARCHY_INDENT); in hist_browser__show_no_entry()
1617 width -= indent * HIERARCHY_INDENT; in hist_browser__show_no_entry()
1691 int indent = hists->nr_hpp_node - 2; in hists_browser__scnprintf_hierarchy_headers() local
1719 indent * HIERARCHY_INDENT, ""); in hists_browser__scnprintf_hierarchy_headers()
/tools/perf/
Dbuiltin-report.c786 static size_t maps__fprintf_task(struct maps *maps, int indent, FILE *fp) in maps__fprintf_task() argument
793 indent, "", map->start, map->end, in maps__fprintf_task()
/tools/testing/selftests/tc-testing/
Dtdc.py586 json.dump(testlist, outfile, indent=4)