/tools/perf/util/ |
D | sort.c | 109 sort__thread_cmp(struct hist_entry *left, struct hist_entry *right) in sort__thread_cmp() argument 111 return thread__tid(right->thread) - thread__tid(left->thread); in sort__thread_cmp() 145 sort__simd_cmp(struct hist_entry *left, struct hist_entry *right) in sort__simd_cmp() argument 147 if (left->simd_flags.arch != right->simd_flags.arch) in sort__simd_cmp() 148 return (int64_t) left->simd_flags.arch - right->simd_flags.arch; in sort__simd_cmp() 150 return (int64_t) left->simd_flags.pred - right->simd_flags.pred; in sort__simd_cmp() 196 sort__comm_cmp(struct hist_entry *left, struct hist_entry *right) in sort__comm_cmp() argument 198 return strcmp(comm__str(right->comm), comm__str(left->comm)); in sort__comm_cmp() 202 sort__comm_collapse(struct hist_entry *left, struct hist_entry *right) in sort__comm_collapse() argument 204 return strcmp(comm__str(right->comm), comm__str(left->comm)); in sort__comm_collapse() [all …]
|
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.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 | 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 | 327 sort__iaddr_cmp(struct hist_entry *left, struct hist_entry *right); 329 sort__daddr_cmp(struct hist_entry *left, struct hist_entry *right); 331 sort__dcacheline_cmp(struct hist_entry *left, struct hist_entry *right);
|
D | block-range.c | 60 static inline void rb_link_right_of_node(struct rb_node *right, struct rb_node *node) in rb_link_right_of_node() argument 67 rb_link_node(right, node, p); in rb_link_right_of_node()
|
D | metricgroup.c | 1145 const struct metric *right = container_of(r, struct metric, nd); in metric_list_cmp() local 1155 right_count = hashmap__size(right->pctx->ids); in metric_list_cmp() 1157 if (!expr__get_id(right->pctx, perf_tool_event__to_str(i), &data)) in metric_list_cmp() 1174 const struct metric *right = container_of(r, struct metric, nd); in default_metricgroup_cmp() local 1175 int diff = strcmp(right->default_metricgroup_name, left->default_metricgroup_name); in default_metricgroup_cmp() 1180 return strcmp(right->metric_name, left->metric_name); in default_metricgroup_cmp()
|
D | hist.h | 179 int64_t hist_entry__cmp(struct hist_entry *left, struct hist_entry *right); 180 int64_t hist_entry__collapse(struct hist_entry *left, struct hist_entry *right);
|
D | callchain.c | 676 const char *right) in match_chain_strings() argument 681 if (left && right) in match_chain_strings() 682 cmp = strcmp(left, right); in match_chain_strings() 683 else if (!left && right) in match_chain_strings() 685 else if (left && !right) in match_chain_strings()
|
D | hist.c | 1101 struct hist_entry *right) in hist_entry__fast__sym_diff() argument 1104 struct symbol *sym_r = right->ms.sym; in hist_entry__fast__sym_diff() 1107 return left->ip != right->ip; in hist_entry__fast__sym_diff() 1276 hist_entry__cmp(struct hist_entry *left, struct hist_entry *right) in hist_entry__cmp() argument 1287 cmp = fmt->cmp(fmt, left, right); in hist_entry__cmp() 1296 hist_entry__collapse(struct hist_entry *left, struct hist_entry *right) in hist_entry__collapse() argument 1307 cmp = fmt->collapse(fmt, left, right); in hist_entry__collapse()
|
/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/perf/ |
D | builtin-diff.c | 564 struct hist_entry *right) in block_cycles_diff_cmp() argument 567 bool pairs_right = hist_entry__has_pairs(right); in block_cycles_diff_cmp() 574 r = llabs(right->diff.cycles); in block_cycles_diff_cmp() 579 struct hist_entry *left, struct hist_entry *right) in block_sort() argument 581 return block_cycles_diff_cmp(right, left); in block_sort() 760 __hist_entry__cmp_compute(struct hist_entry *left, struct hist_entry *right, in __hist_entry__cmp_compute() argument 767 double r = right->diff.period_ratio_delta; in __hist_entry__cmp_compute() 774 double r = fabs(right->diff.period_ratio_delta); in __hist_entry__cmp_compute() 781 double r = right->diff.period_ratio; in __hist_entry__cmp_compute() 788 s64 r = right->diff.wdiff; in __hist_entry__cmp_compute() [all …]
|
D | builtin-c2c.c | 519 struct hist_entry *left, struct hist_entry *right) in dcacheline_cmp() argument 521 return sort__dcacheline_cmp(left, right); in dcacheline_cmp() 577 struct hist_entry *left, struct hist_entry *right) in offset_cmp() argument 584 if (right->mem_info) in offset_cmp() 585 r = cl_offset(right->mem_info->daddr.addr, chk_double_cl); in offset_cmp() 606 struct hist_entry *left, struct hist_entry *right) in iaddr_cmp() argument 608 return sort__iaddr_cmp(left, right); in iaddr_cmp() 627 struct hist_entry *left, struct hist_entry *right) in tot_hitm_cmp() argument 635 c2c_right = container_of(right, struct c2c_hist_entry, he); in tot_hitm_cmp() 659 struct hist_entry *left, struct hist_entry *right) \ [all …]
|
D | builtin-kvm.c | 93 struct hist_entry *right); 107 struct hist_entry *right) in ev_name_cmp() argument 110 return -strcmp(left->kvm_info->name, right->kvm_info->name); in ev_name_cmp() 136 struct hist_entry *right) \ 143 event_right = container_of(right, struct kvm_event, he); \ 270 struct hist_entry *left, struct hist_entry *right) in ev_cmp_time_precent() argument 276 per_right = ev_percent_time(right); in ev_cmp_time_precent() 303 struct hist_entry *left, struct hist_entry *right) in ev_cmp_count_precent() argument 309 per_right = ev_percent_count(right); in ev_cmp_count_precent()
|
D | builtin-trace.c | 3704 char *right = tok + 1, *right_end; local 3706 if (*right == '=') 3707 ++right; 3709 while (isspace(*right)) 3710 ++right; 3712 if (*right == '\0') 3724 right_end = right + 1; 3728 if (isalpha(*right)) { 3731 right_size = right_end - right; 3747 arg, (int)(right - tok), tok, right_size, right); [all …]
|
/tools/testing/selftests/kvm/s390x/ |
D | sync_regs_test.c | 40 TEST_ASSERT(left->reg == right->reg, \ 43 left->reg, right->reg) 46 TEST_ASSERT(left->reg == right->reg, \ 49 left->reg, right->reg) 52 static void compare_regs(struct kvm_regs *left, struct kvm_sync_regs *right) in compare_regs() argument 60 static void compare_sregs(struct kvm_sregs *left, struct kvm_sync_regs *right) in compare_sregs() argument
|
/tools/include/linux/ |
D | interval_tree_generic.h | 165 ITSTRUCT *right = rb_entry(rb, ITSTRUCT, ITRB); \ 166 if (start <= right->ITSUBTREE) \ 167 return ITPREFIX ## _subtree_search(right, \
|
/tools/testing/selftests/kvm/x86_64/ |
D | sync_regs_test.c | 44 static void compare_regs(struct kvm_regs *left, struct kvm_regs *right) in compare_regs() argument 47 TEST_ASSERT(left->reg == right->reg, \ in compare_regs() 50 left->reg, right->reg) in compare_regs() 72 static void compare_sregs(struct kvm_sregs *left, struct kvm_sregs *right) in compare_sregs() argument 77 struct kvm_vcpu_events *right) in compare_vcpu_events() argument
|
/tools/testing/selftests/hid/tests/ |
D | test_mouse.py | 39 self.right = False 59 self.right = r 63 right = self.right 80 mouse.b2 = int(right) 144 left, right, middle = buttons 147 if right is None: 148 right = self.right 153 right = self.right 156 button_mask = sum(1 << i for i, b in enumerate([left, right, middle]) if b)
|
D | test_gamepad.py | 125 r = uhdev.event(right=data)
|
D | test_multitouch.py | 264 right=None, argument 273 if right is not None: 274 self.right_state = right 1011 r = uhdev.event(right=True) 1017 r = uhdev.event(right=False)
|
/tools/perf/tests/attr/ |
D | system-wide-dummy | 17 # Event will be enabled right away.
|
/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
|