| /tools/perf/scripts/python/ |
| A D | mem-phys-addr.py | 22 indent: int 44 indent = 0 45 while line[indent] == ' ': 46 indent += 1 47 if indent > max_indent: 48 max_indent = indent 53 entry = IomemEntry(begin, end, indent, label) 55 if indent > 0: 59 iomem[indent].append(entry) 99 mem_type = ' ' * entry.indent + f"{entry.begin:x}-{entry.end:x} : {entry.label}"
|
| A D | gecko.py | 340 json.dump(gecko_profile_with_meta, f, indent=2) 347 json.dump(gecko_profile_with_meta, f, indent=2)
|
| /tools/testing/selftests/kvm/lib/x86/ |
| A D | processor.c | 30 indent, "", in regs_dump() 34 indent, "", in regs_dump() 38 indent, "", in regs_dump() 42 indent, "", in regs_dump() 45 indent, "", in regs_dump() 67 uint8_t indent) in dtable_dump() argument 103 indent, "", in sregs_dump() 107 indent, "", in sregs_dump() 336 indent, ""); in virt_arch_dump() 344 indent, "", in virt_arch_dump() [all …]
|
| /tools/testing/selftests/kvm/lib/s390/ |
| A D | processor.c | 114 static void virt_dump_ptes(FILE *stream, struct kvm_vm *vm, uint8_t indent, in virt_dump_ptes() argument 124 indent, "", ptea, *pte); in virt_dump_ptes() 128 static void virt_dump_region(FILE *stream, struct kvm_vm *vm, uint8_t indent, in virt_dump_region() argument 138 indent, "", 4 - ((*entry & REGION_ENTRY_TYPE) >> 2), in virt_dump_region() 141 virt_dump_region(stream, vm, indent + 2, in virt_dump_region() 144 virt_dump_ptes(stream, vm, indent + 2, in virt_dump_region() 150 void virt_arch_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent) in virt_arch_dump() argument 155 virt_dump_region(stream, vm, indent, vm->pgd); in virt_arch_dump() 215 void vcpu_arch_dump(FILE *stream, struct kvm_vcpu *vcpu, uint8_t indent) in vcpu_arch_dump() argument 218 indent, "", vcpu->run->psw_mask, vcpu->run->psw_addr); in vcpu_arch_dump()
|
| /tools/testing/selftests/x86/ |
| A D | syscall_numbering.c | 101 sh->indent = 0; \ 176 sh->indent++; in _check_for() 178 sh->indent++; in _check_for() 192 sh->indent--; in _check_for() 204 sh->indent--; in _check_for() 235 sh->indent++; in test_x32() 246 sh->indent--; in test_x32() 311 sh->indent++; in test_syscall_numbering() 322 sh->indent++; in test_syscall_numbering() 330 sh->indent--; in test_syscall_numbering() [all …]
|
| /tools/verification/rvgen/rvgen/ |
| A D | ltl2k.py | 14 def break_long_line(line: str, indent='') -> list[str]: argument 19 line = indent + line[i + 1:] 160 indent = "\t\t " 163 lines = break_long_line(line, indent) 194 indent = "\t " 197 lines = break_long_line(line, indent)
|
| /tools/perf/ui/browsers/ |
| A D | annotate-data.c | 27 int indent; /*indentation level, starts from 0 */ member 80 struct evsel *evsel, int indent) in add_child_entries() argument 98 entry->indent = indent; in add_child_entries() 114 indent + 1); in add_child_entries() 127 bracket->indent = indent; in add_child_entries() 405 "", "", be->indent * 4, ""); in browser__write() 429 if (be->indent == 0 && !member->var_name) { in browser__write() 437 be->indent * 4, "", member->type_name, in browser__write()
|
| A D | hists.c | 1611 int indent = browser->hists->nr_hpp_node - 2; in hist_browser__show_no_entry() local 1651 ui_browser__write_nstring(&browser->b, "", indent * HIERARCHY_INDENT); in hist_browser__show_no_entry() 1652 width -= indent * HIERARCHY_INDENT; in hist_browser__show_no_entry() 1727 int indent = hists->nr_hpp_node - 2; in hists_browser__scnprintf_hierarchy_headers() local 1758 indent * HIERARCHY_INDENT, ""); in hists_browser__scnprintf_hierarchy_headers()
|
| /tools/perf/util/intel-pt-decoder/ |
| A D | intel-pt-log.c | 68 int indent) in intel_pt_print_data() argument 72 for (i = 0; i < indent; i++) in intel_pt_print_data() 83 static void intel_pt_print_no_data(uint64_t pos, int indent) in intel_pt_print_no_data() argument 87 for (i = 0; i < indent; i++) in intel_pt_print_no_data()
|
| /tools/testing/selftests/kvm/lib/loongarch/ |
| A D | processor.c | 140 static void pte_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent, uint64_t page, int level) in pte_dump() argument 153 indent, "", type[level], pte, *ptep, ptep); in pte_dump() 154 pte_dump(stream, vm, indent + 1, pte_addr(vm, *ptep), level--); in pte_dump() 158 void virt_arch_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent) in virt_arch_dump() argument 166 pte_dump(stream, vm, indent, vm->pgd, level); in virt_arch_dump() 169 void vcpu_arch_dump(FILE *stream, struct kvm_vcpu *vcpu, uint8_t indent) in vcpu_arch_dump() argument
|
| /tools/perf/ui/stdio/ |
| A D | hist.c | 623 static int print_hierarchy_indent(const char *sep, int indent, in print_hierarchy_indent() argument 628 if (sep != NULL || indent < 2) in print_hierarchy_indent() 631 width = (indent - 2) * HIERARCHY_INDENT; in print_hierarchy_indent() 640 int indent; in hists__fprintf_hierarchy_headers() local 649 indent = hists->nr_hpp_node; in hists__fprintf_hierarchy_headers() 661 print_hierarchy_indent(sep, indent, " ", fp); in hists__fprintf_hierarchy_headers() 700 print_hierarchy_indent(sep, indent, dots, fp); in hists__fprintf_hierarchy_headers() 844 unsigned indent; in hists__fprintf() local 867 indent = hists__overhead_width(hists) + 4; in hists__fprintf() 898 fprintf(fp, "%*sno entry >= %.2f%%\n", indent, "", min_pcnt); in hists__fprintf()
|
| /tools/testing/selftests/kvm/lib/arm64/ |
| A D | processor.c | 233 static void pte_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent, uint64_t page, int level) in pte_dump() argument 246 fprintf(stream, "%*s%s: %lx: %lx at %p\n", indent, "", type[level], pte, *ptep, ptep); in pte_dump() 247 pte_dump(stream, vm, indent + 1, pte_addr(vm, *ptep), level + 1); in pte_dump() 252 void virt_arch_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent) in virt_arch_dump() argument 264 fprintf(stream, "%*spgd: %lx: %lx at %p\n", indent, "", pgd, *ptep, ptep); in virt_arch_dump() 265 pte_dump(stream, vm, indent + 1, pte_addr(vm, *ptep), level); in virt_arch_dump() 367 void vcpu_arch_dump(FILE *stream, struct kvm_vcpu *vcpu, uint8_t indent) in vcpu_arch_dump() argument 375 indent, "", pstate, pc); in vcpu_arch_dump()
|
| /tools/testing/selftests/kvm/lib/riscv/ |
| A D | processor.c | 155 static void pte_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent, in pte_dump() argument 169 fprintf(stream, "%*s%s: %lx: %lx at %p\n", indent, "", in pte_dump() 171 pte_dump(stream, vm, indent + 1, in pte_dump() 177 void virt_arch_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent) in virt_arch_dump() argument 189 fprintf(stream, "%*spgd: %lx: %lx at %p\n", indent, "", in virt_arch_dump() 191 pte_dump(stream, vm, indent + 1, in virt_arch_dump() 220 void vcpu_arch_dump(FILE *stream, struct kvm_vcpu *vcpu, uint8_t indent) in vcpu_arch_dump() argument
|
| /tools/testing/selftests/kvm/lib/ |
| A D | sparsebit.c | 872 unsigned int indent) in dump_nodes() argument 889 indent, "", nodep->idx, nodep->mask, nodep->num_after); in dump_nodes() 893 dump_nodes(stream, nodep->left, indent + 2); in dump_nodes() 897 dump_nodes(stream, nodep->right, indent + 2); in dump_nodes() 925 unsigned int indent) in sparsebit_dump_internal() argument 928 fprintf(stream, "%*sroot: %p\n", indent, "", s->root); in sparsebit_dump_internal() 932 dump_nodes(stream, s->root, indent); in sparsebit_dump_internal() 1587 unsigned int indent) in sparsebit_dump() argument 1597 fprintf(stream, "%*s", indent, ""); in sparsebit_dump() 1633 fprintf(stream, "%*s", indent, ""); in sparsebit_dump() [all …]
|
| A D | kvm_util.c | 1990 fprintf(stream, "%*smode: 0x%x\n", indent, "", vm->mode); in vm_dump() 1991 fprintf(stream, "%*sfd: %i\n", indent, "", vm->fd); in vm_dump() 1993 fprintf(stream, "%*sMem Regions:\n", indent, ""); in vm_dump() 1996 "host_virt: %p\n", indent + 2, "", in vm_dump() 2000 fprintf(stream, "%*sunused_phy_pages: ", indent + 2, ""); in vm_dump() 2008 sparsebit_dump(stream, vm->vpages_mapped, indent + 2); in vm_dump() 2009 fprintf(stream, "%*spgd_created: %u\n", indent, "", in vm_dump() 2013 indent + 2, ""); in vm_dump() 2014 virt_dump(stream, vm, indent + 4); in vm_dump() 2016 fprintf(stream, "%*sVCPUs:\n", indent, ""); in vm_dump() [all …]
|
| /tools/testing/selftests/damon/ |
| A D | drgn_dump_damon_status.py | 216 print(json.dumps(status, indent=4)) 219 json.dump(status, f, indent=4)
|
| A D | sysfs.py | 29 print(json.dumps(status, indent=4))
|
| /tools/testing/kunit/ |
| A D | kunit_json.py | 73 return json.dumps(test_group, indent=4)
|
| A D | run_checks.py | 69 print(textwrap.indent(output.decode(), '> '))
|
| /tools/testing/selftests/kvm/include/ |
| A D | sparsebit.h | 66 unsigned int indent);
|
| A D | kvm_util.h | 448 void vm_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent); 1133 uint8_t indent); 1136 uint8_t indent) in vcpu_dump() argument 1138 vcpu_arch_dump(stream, vcpu, indent); in vcpu_dump() 1240 void virt_arch_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent); 1242 static inline void virt_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent) in virt_dump() argument 1244 virt_arch_dump(stream, vm, indent); in virt_dump()
|
| /tools/verification/rv/src/ |
| A D | in_kernel.c | 361 int indent = ikm.nested && !container; in ikm_list_monitors() local 364 printf("%s%-*s %s %s\n", indent ? " - " : "", in ikm_list_monitors() 365 indent ? MAX_DA_NAME_LEN - 3 : MAX_DA_NAME_LEN, in ikm_list_monitors()
|
| /tools/perf/ |
| A D | builtin-report.c | 854 int indent; member 875 args->indent, "", map__start(map), map__end(map), in maps__fprintf_task_cb() 890 static size_t maps__fprintf_task(struct maps *maps, int indent, FILE *fp) in maps__fprintf_task() argument 893 .indent = indent, in maps__fprintf_task()
|
| /tools/perf/util/ |
| A D | stat-display.c | 1440 int idx, indent = 0; in print_table() local 1443 while (tmp[indent] == ' ') in print_table() 1444 indent++; in print_table() 1446 fprintf(output, "%*s# Table of individual measurements:\n", indent, ""); in print_table() 1461 fprintf(output, "\n%*s# Final result:\n", indent, ""); in print_table()
|
| A D | annotate-data.c | 1818 struct evsel *evsel, int indent) in print_annotated_data_type() argument 1845 member->offset, member->size, indent, "", member->type_name, in print_annotated_data_type() 1852 print_annotated_data_type(mem_type, child, evsel, indent + 4); in print_annotated_data_type() 1855 printf("%*s}", (width + 1) * nr_events + 24 + indent, ""); in print_annotated_data_type()
|