/tools/perf/util/ |
D | sort.c | 98 sort__thread_cmp(struct hist_entry *left, struct hist_entry *right) in sort__thread_cmp() argument 100 return right->thread->tid - left->thread->tid; in sort__thread_cmp() 139 sort__comm_cmp(struct hist_entry *left, struct hist_entry *right) in sort__comm_cmp() argument 141 return strcmp(comm__str(right->comm), comm__str(left->comm)); in sort__comm_cmp() 145 sort__comm_collapse(struct hist_entry *left, struct hist_entry *right) in sort__comm_collapse() argument 147 return strcmp(comm__str(right->comm), comm__str(left->comm)); in sort__comm_collapse() 151 sort__comm_sort(struct hist_entry *left, struct hist_entry *right) in sort__comm_sort() argument 153 return strcmp(comm__str(right->comm), comm__str(left->comm)); in sort__comm_sort() 195 sort__dso_cmp(struct hist_entry *left, struct hist_entry *right) in sort__dso_cmp() argument 197 return _sort__dso_cmp(right->ms.map, left->ms.map); in sort__dso_cmp() [all …]
|
D | block-info.h | 65 int64_t __block_info__cmp(struct hist_entry *left, struct hist_entry *right); 68 struct hist_entry *left, struct hist_entry *right);
|
D | strfilter.c | 181 struct strfilter_node *right, *root; in strfilter__append() local 187 right = strfilter_node__new(rules, &ep); in strfilter__append() 188 if (!right || *ep != '\0') { in strfilter__append() 193 root = strfilter_node__alloc(_or ? OP_or : OP_and, filter->root, right); in strfilter__append() 203 strfilter_node__delete(right); in strfilter__append()
|
D | block-info.c | 68 int64_t __block_info__cmp(struct hist_entry *left, struct hist_entry *right) in __block_info__cmp() argument 71 struct block_info *bi_r = right->block_info; in __block_info__cmp() 94 struct hist_entry *left, struct hist_entry *right) in block_info__cmp() argument 96 return __block_info__cmp(left, right); in block_info__cmp() 211 struct hist_entry *right) in block_total_cycles_pct_sort() argument 215 struct block_info *bi_r = right->block_info; in block_total_cycles_pct_sort()
|
D | sort.h | 318 sort__iaddr_cmp(struct hist_entry *left, struct hist_entry *right); 320 sort__daddr_cmp(struct hist_entry *left, struct hist_entry *right); 322 sort__dcacheline_cmp(struct hist_entry *left, struct hist_entry *right);
|
D | block-range.c | 64 static inline void rb_link_right_of_node(struct rb_node *right, struct rb_node *node) in rb_link_right_of_node() argument 71 rb_link_node(right, node, p); in rb_link_right_of_node()
|
D | callchain.c | 667 const char *right) in match_chain_strings() argument 672 if (left && right) in match_chain_strings() 673 cmp = strcmp(left, right); in match_chain_strings() 674 else if (!left && right) in match_chain_strings() 676 else if (left && !right) in match_chain_strings()
|
D | hist.h | 171 int64_t hist_entry__cmp(struct hist_entry *left, struct hist_entry *right); 172 int64_t hist_entry__collapse(struct hist_entry *left, struct hist_entry *right);
|
D | hist.c | 1081 struct hist_entry *right) in hist_entry__fast__sym_diff() argument 1084 struct symbol *sym_r = right->ms.sym; in hist_entry__fast__sym_diff() 1087 return left->ip != right->ip; in hist_entry__fast__sym_diff() 1253 hist_entry__cmp(struct hist_entry *left, struct hist_entry *right) in hist_entry__cmp() argument 1264 cmp = fmt->cmp(fmt, left, right); in hist_entry__cmp() 1273 hist_entry__collapse(struct hist_entry *left, struct hist_entry *right) in hist_entry__collapse() argument 1284 cmp = fmt->collapse(fmt, left, right); in hist_entry__collapse()
|
D | auxtrace.c | 521 unsigned int left, right; in auxtrace_heap__pop() local 526 right = left + 1; in auxtrace_heap__pop() 527 if (right >= heap_cnt) { in auxtrace_heap__pop() 531 if (heap_array[left].ordinal < heap_array[right].ordinal) { in auxtrace_heap__pop() 535 heap_array[pos] = heap_array[right]; in auxtrace_heap__pop() 536 pos = right; in auxtrace_heap__pop()
|
/tools/testing/selftests/kvm/lib/ |
D | sparsebit.c | 171 struct node *right; member 227 if (nodep->right) { in node_next() 228 for (nodep = nodep->right; nodep->left; nodep = nodep->left) in node_next() 237 while (nodep->parent && nodep == nodep->parent->right) in node_next() 256 for (nodep = nodep->left; nodep->right; nodep = nodep->right) in node_prev() 297 if (subtree->right) { in node_copy_subtree() 298 root->right = node_copy_subtree(subtree->right); in node_copy_subtree() 299 root->right->parent = root; in node_copy_subtree() 316 nodep = nodep->idx > idx ? nodep->left : nodep->right) { in node_find() 367 if (!parentp->right) { in node_add() [all …]
|
/tools/lib/traceevent/ |
D | parse-filter.c | 196 free_arg(arg->num.right); in free_arg() 201 free_arg(arg->exp.right); in free_arg() 218 free_arg(arg->op.right); in free_arg() 449 if (op->exp.right) in add_right() 451 op->exp.right = arg; in add_right() 455 if (op->op.right) in add_right() 457 op->op.right = arg; in add_right() 461 if (op->op.right) in add_right() 587 op->num.right = arg; in add_right() 609 arg = a->op.right; in rotate_op_right() [all …]
|
D | event-parse.c | 913 free_arg(arg->op.right); in free_arg() 1791 struct tep_print_arg *arg, *left, *right; in process_cond() local 1797 right = alloc_arg(); in process_cond() 1799 if (!arg || !left || !right) { in process_cond() 1803 free_arg(right); in process_cond() 1809 arg->op.right = right; in process_cond() 1829 type = process_arg(event, right, &token); in process_cond() 1831 top->op.right = arg; in process_cond() 1838 top->op.right = NULL; in process_cond() 1864 top->op.right = arg; in process_array() [all …]
|
D | event-parse.h | 213 struct tep_print_arg *right; member 665 struct tep_filter_arg *right; member 671 struct tep_filter_arg *right; member 677 struct tep_filter_arg *right; member
|
/tools/testing/selftests/kvm/s390x/ |
D | sync_regs_test.c | 41 TEST_ASSERT(left->reg == right->reg, \ 44 left->reg, right->reg) 47 TEST_ASSERT(left->reg == right->reg, \ 50 left->reg, right->reg) 53 static void compare_regs(struct kvm_regs *left, struct kvm_sync_regs *right) in compare_regs() argument 61 static void compare_sregs(struct kvm_sregs *left, struct kvm_sync_regs *right) in compare_sregs() argument
|
/tools/perf/ |
D | builtin-diff.c | 562 struct hist_entry *right) in block_cycles_diff_cmp() argument 565 bool pairs_right = hist_entry__has_pairs(right); in block_cycles_diff_cmp() 572 r = llabs(right->diff.cycles); in block_cycles_diff_cmp() 577 struct hist_entry *left, struct hist_entry *right) in block_sort() argument 579 return block_cycles_diff_cmp(right, left); in block_sort() 758 __hist_entry__cmp_compute(struct hist_entry *left, struct hist_entry *right, in __hist_entry__cmp_compute() argument 765 double r = right->diff.period_ratio_delta; in __hist_entry__cmp_compute() 772 double r = fabs(right->diff.period_ratio_delta); in __hist_entry__cmp_compute() 779 double r = right->diff.period_ratio; in __hist_entry__cmp_compute() 786 s64 r = right->diff.wdiff; in __hist_entry__cmp_compute() [all …]
|
D | builtin-c2c.c | 497 struct hist_entry *left, struct hist_entry *right) in dcacheline_cmp() argument 499 return sort__dcacheline_cmp(left, right); in dcacheline_cmp() 555 struct hist_entry *left, struct hist_entry *right) in offset_cmp() argument 561 if (right->mem_info) in offset_cmp() 562 r = cl_offset(right->mem_info->daddr.addr); in offset_cmp() 583 struct hist_entry *left, struct hist_entry *right) in iaddr_cmp() argument 585 return sort__iaddr_cmp(left, right); in iaddr_cmp() 604 struct hist_entry *left, struct hist_entry *right) in tot_hitm_cmp() argument 612 c2c_right = container_of(right, struct c2c_hist_entry, he); in tot_hitm_cmp() 636 struct hist_entry *left, struct hist_entry *right) \ [all …]
|
D | builtin-trace.c | 3810 char *right = tok + 1, *right_end; local 3812 if (*right == '=') 3813 ++right; 3815 while (isspace(*right)) 3816 ++right; 3818 if (*right == '\0') 3830 right_end = right + 1; 3834 if (isalpha(*right)) { 3837 right_size = right_end - right; 3853 arg, (int)(right - tok), tok, right_size, right); [all …]
|
/tools/testing/selftests/kvm/x86_64/ |
D | sync_regs_test.c | 45 static void compare_regs(struct kvm_regs *left, struct kvm_regs *right) in compare_regs() argument 48 TEST_ASSERT(left->reg == right->reg, \ in compare_regs() 51 left->reg, right->reg) in compare_regs() 73 static void compare_sregs(struct kvm_sregs *left, struct kvm_sregs *right) in compare_sregs() argument 78 struct kvm_vcpu_events *right) in compare_vcpu_events() argument
|
/tools/perf/tests/attr/ |
D | system-wide-dummy | 15 # Event will be enabled right away.
|
/tools/testing/kunit/ |
D | kunit_parser.py | 234 def max_status(left: TestStatus, right: TestStatus) -> TestStatus: 235 if left == right: 237 elif left == TestStatus.TEST_CRASHED or right == TestStatus.TEST_CRASHED: 239 elif left == TestStatus.FAILURE or right == TestStatus.FAILURE: 242 return right
|
/tools/testing/selftests/exec/ |
D | execveat.c | 119 static char *concat(const char *left, const char *right) in concat() argument 121 char *result = malloc(strlen(left) + strlen(right) + 1); in concat() 124 strcat(result, right); in concat()
|
/tools/perf/scripts/perl/Perf-Trace-Util/ |
D | README | 37 module in the right place.
|
/tools/perf/Documentation/ |
D | perf-mem.txt | 19 right set of options to display a memory access profile. By default, loads
|
/tools/memory-model/ |
D | linux-kernel.cat | 107 * of each disjunct and the po? term at the right-hand end have been factored
|