Home
last modified time | relevance | path

Searched refs:left (Results 1 – 25 of 40) sorted by relevance

12

/tools/perf/util/
Dexpr.y40 %left MIN MAX IF
41 %left '|'
42 %left '^'
43 %left '&'
44 %left '<' '>'
45 %left '-' '+'
46 %left '*' '/' '%'
47 %left NEG NOT
Dsort.c95 sort__thread_cmp(struct hist_entry *left, struct hist_entry *right) in sort__thread_cmp() argument
97 return right->thread->tid - left->thread->tid; in sort__thread_cmp()
136 sort__comm_cmp(struct hist_entry *left, struct hist_entry *right) in sort__comm_cmp() argument
138 return strcmp(comm__str(right->comm), comm__str(left->comm)); in sort__comm_cmp()
142 sort__comm_collapse(struct hist_entry *left, struct hist_entry *right) in sort__comm_collapse() argument
144 return strcmp(comm__str(right->comm), comm__str(left->comm)); in sort__comm_collapse()
148 sort__comm_sort(struct hist_entry *left, struct hist_entry *right) in sort__comm_sort() argument
150 return strcmp(comm__str(right->comm), comm__str(left->comm)); in sort__comm_sort()
192 sort__dso_cmp(struct hist_entry *left, struct hist_entry *right) in sort__dso_cmp() argument
194 return _sort__dso_cmp(right->ms.map, left->ms.map); in sort__dso_cmp()
[all …]
Dblock-info.h65 int64_t __block_info__cmp(struct hist_entry *left, struct hist_entry *right);
68 struct hist_entry *left, struct hist_entry *right);
Dsort.h309 sort__iaddr_cmp(struct hist_entry *left, struct hist_entry *right);
311 sort__daddr_cmp(struct hist_entry *left, struct hist_entry *right);
313 sort__dcacheline_cmp(struct hist_entry *left, struct hist_entry *right);
Dblock-info.c68 int64_t __block_info__cmp(struct hist_entry *left, struct hist_entry *right) in __block_info__cmp() argument
70 struct block_info *bi_l = left->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()
210 struct hist_entry *left, in block_total_cycles_pct_sort() argument
214 struct block_info *bi_l = left->block_info; in block_total_cycles_pct_sort()
Dblock-range.c54 static inline void rb_link_left_of_node(struct rb_node *left, struct rb_node *node) in rb_link_left_of_node() argument
61 rb_link_node(left, node, p); in rb_link_left_of_node()
/tools/lib/perf/
Dlib.c13 size_t left = n; in ion() local
15 while (left) { in ion()
17 ssize_t ret = is_read ? read(fd, buf, left) : in ion()
18 write(fd, buf, left); in ion()
25 left -= ret; in ion()
/tools/testing/selftests/kvm/lib/
Dsparsebit.c170 struct node *left; member
209 for (nodep = s->root; nodep && nodep->left; nodep = nodep->left) in node_first()
228 for (nodep = nodep->right; nodep->left; nodep = nodep->left) in node_next()
255 if (nodep->left) { in node_prev()
256 for (nodep = nodep->left; nodep->right; nodep = nodep->right) in node_prev()
265 while (nodep->parent && nodep == nodep->parent->left) in node_prev()
292 if (subtree->left) { in node_copy_subtree()
293 root->left = node_copy_subtree(subtree->left); in node_copy_subtree()
294 root->left->parent = root; in node_copy_subtree()
316 nodep = nodep->idx > idx ? nodep->left : nodep->right) { in node_find()
[all …]
/tools/testing/selftests/kvm/s390x/
Dsync_regs_test.c40 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/perf/util/intel-pt-decoder/
Dintel-pt-insn-decoder.c187 int left; in dump_insn() local
195 left = sizeof(x->out); in dump_insn()
196 n = snprintf(x->out, left, "insn: "); in dump_insn()
197 left -= n; in dump_insn()
199 n += snprintf(x->out + n, left, "%02x ", inbuf[i]); in dump_insn()
200 left -= n; in dump_insn()
/tools/lib/traceevent/
Dparse-filter.c195 free_arg(arg->num.left); in free_arg()
200 free_arg(arg->exp.left); in free_arg()
217 free_arg(arg->op.left); in free_arg()
442 struct tep_filter_arg *left; in add_right() local
497 left = op->num.left; in add_right()
507 if (left->type == TEP_FILTER_ARG_BOOLEAN) { in add_right()
508 free_arg(left); in add_right()
516 if (left->type != TEP_FILTER_ARG_FIELD) { in add_right()
549 op->str.field = left->field.field; in add_right()
568 free_arg(left); in add_right()
[all …]
Devent-parse.c912 free_arg(arg->op.left); in free_arg()
1791 struct tep_print_arg *arg, *left, *right; in process_cond() local
1796 left = alloc_arg(); in process_cond()
1799 if (!arg || !left || !right) { in process_cond()
1802 free_arg(left); in process_cond()
1808 arg->op.left = left; in process_cond()
1812 type = process_arg(event, left, &token); in process_cond()
1820 type = process_op(event, left, &token); in process_cond()
1937 if (!arg->op.left || arg->op.left->type == TEP_PRINT_NULL) in set_op_prio()
1949 struct tep_print_arg *left, *right = NULL; in process_op() local
[all …]
Devent-parse.h212 struct tep_print_arg *left; member
664 struct tep_filter_arg *left; member
670 struct tep_filter_arg *left; member
676 struct tep_filter_arg *left; member
/tools/perf/
Dbuiltin-diff.c561 static int64_t block_cycles_diff_cmp(struct hist_entry *left, in block_cycles_diff_cmp() argument
564 bool pairs_left = hist_entry__has_pairs(left); in block_cycles_diff_cmp()
571 l = llabs(left->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
764 double l = left->diff.period_ratio_delta; in __hist_entry__cmp_compute()
771 double l = fabs(left->diff.period_ratio_delta); in __hist_entry__cmp_compute()
778 double l = left->diff.period_ratio; in __hist_entry__cmp_compute()
785 s64 l = left->diff.wdiff; in __hist_entry__cmp_compute()
[all …]
Dbuiltin-c2c.c491 struct hist_entry *left, struct hist_entry *right) in dcacheline_cmp() argument
493 return sort__dcacheline_cmp(left, right); in dcacheline_cmp()
549 struct hist_entry *left, struct hist_entry *right) in offset_cmp() argument
553 if (left->mem_info) in offset_cmp()
554 l = cl_offset(left->mem_info->daddr.addr); in offset_cmp()
577 struct hist_entry *left, struct hist_entry *right) in iaddr_cmp() argument
579 return sort__iaddr_cmp(left, right); in iaddr_cmp()
598 struct hist_entry *left, struct hist_entry *right) in tot_hitm_cmp() argument
605 c2c_left = container_of(left, struct c2c_hist_entry, he); in tot_hitm_cmp()
630 struct hist_entry *left, struct hist_entry *right) \
[all …]
/tools/testing/selftests/net/
Dtls.c904 size_t left = data; in TEST_F() local
909 while (left) { in TEST_F()
911 left > 16384 ? 16384 : left, 0); in TEST_F()
914 left -= res; in TEST_F()
922 size_t left = data; in TEST_F() local
925 while (left) { in TEST_F()
927 left > 16384 ? 16384 : left, 0); in TEST_F()
930 left -= res; in TEST_F()
958 size_t left = data; in TEST_F() local
963 while (left) { in TEST_F()
[all …]
Dudpgso_bench_tx.c331 unsigned int off = 0, left; in send_udp_sendmmsg() local
348 left = cfg_payload_len; in send_udp_sendmmsg()
349 while (left) { in send_udp_sendmmsg()
354 iov[i].iov_len = cfg_mss < left ? cfg_mss : left; in send_udp_sendmmsg()
367 left -= iov[i].iov_len; in send_udp_sendmmsg()
/tools/testing/selftests/kvm/x86_64/
Dsync_regs_test.c40 static void compare_regs(struct kvm_regs *left, struct kvm_regs *right) in compare_regs() argument
43 TEST_ASSERT(left->reg == right->reg, \ in compare_regs()
46 left->reg, right->reg) in compare_regs()
68 static void compare_sregs(struct kvm_sregs *left, struct kvm_sregs *right) in compare_sregs() argument
72 static void compare_vcpu_events(struct kvm_vcpu_events *left, in compare_vcpu_events() argument
/tools/build/tests/ex/empty2/
DREADME1 This directory is left intentionally without Build file
/tools/testing/kunit/
Dkunit_parser.py189 def max_status(left: TestStatus, right: TestStatus) -> TestStatus:
190 if left == TestStatus.TEST_CRASHED or right == TestStatus.TEST_CRASHED:
192 elif left == TestStatus.FAILURE or right == TestStatus.FAILURE:
194 elif left != TestStatus.SUCCESS:
195 return left
/tools/lib/traceevent/plugins/
Dplugin_function.c235 int left = (record->data + record->size) - data; in trace_raw_data_handler() local
238 if (size > left) in trace_raw_data_handler()
239 size = left; in trace_raw_data_handler()
/tools/vm/
Dslabinfo-gnuplot.sh92 set key left above Left title reverse
131 set key left above Left title reverse
/tools/testing/selftests/exec/
Dexecveat.c119 static char *concat(const char *left, const char *right) in concat() argument
121 char *result = malloc(strlen(left) + strlen(right) + 1); in concat()
123 strcpy(result, left); in concat()
/tools/power/pm-graph/
Dbootgraph.py558 left = '%.3f' % (((phase['start']-t0)*100.0)/tTotal)
560 devtl.html += devtl.html_phase.format(left, width, \
578 left = '%.6f' % (((dev['start']-t0)*100)/tTotal)
582 devname+length+phase+'_mode', left, top, '%.3f'%height,
594 left = '%f' % (((l.time-t0)*100)/tTotal)
597 devtl.html += html_srccall.format(l.name, left,
604 left = '%f' % (((cg.start-t0)*100)/tTotal)
609 devtl.html += html_srccall.format(cg.name, left,
647 .fstat td {text-align:left;width:35px;}\n\
Dsleepgraph.py1187 left = finish - datetime.now()
1188 left -= timedelta(microseconds=left.microseconds)
1190 left = timedelta(seconds=((self.multitest['count'] - idx) * int(avg)))
1192 (id, avg, str(left)))
1586 def trimTimeVal(self, t, t0, dT, left): argument
1587 if left:
1601 def trimTime(self, t0, dT, left): argument
1602 self.tSuspended = self.trimTimeVal(self.tSuspended, t0, dT, left)
1603 self.tResumed = self.trimTimeVal(self.tResumed, t0, dT, left)
1604 self.start = self.trimTimeVal(self.start, t0, dT, left)
[all …]

12