Home
last modified time | relevance | path

Searched refs:cmp (Results 1 – 21 of 21) sorted by relevance

/tools/perf/
Dbuiltin-kmem.c201 int cmp; in search_alloc_stat() local
205 cmp = sort_fn(&key, data); in search_alloc_stat()
206 if (cmp < 0) in search_alloc_stat()
208 else if (cmp > 0) in search_alloc_stat()
413 sort_fn_t cmp; member
428 s64 cmp; in __page_stat__findnew_page() local
433 cmp = data->page - pstat->page; in __page_stat__findnew_page()
434 if (cmp < 0) in __page_stat__findnew_page()
436 else if (cmp > 0) in __page_stat__findnew_page()
478 int cmp = 0; in __page_stat__findnew_alloc() local
[all …]
Dbuiltin-sched.c813 sort_fn_t cmp; member
826 ret = sort->cmp(l, r); in thread_lat_cmp()
843 int cmp; in thread_atoms_search() local
847 cmp = thread_lat_cmp(sort_list, &key, atoms); in thread_atoms_search()
848 if (cmp > 0) in thread_atoms_search()
850 else if (cmp < 0) in thread_atoms_search()
868 int cmp; in __thread_latency_insert() local
873 cmp = thread_lat_cmp(sort_list, data, this); in __thread_latency_insert()
875 if (cmp > 0) in __thread_latency_insert()
1290 .cmp = avg_cmp, in sort_dimension__add()
[all …]
Dbuiltin-diff.c1100 fmt->cmp = hist_entry__cmp_nop; in data__hpp_register()
1185 fmt->cmp = hist_entry__cmp_nop; in ui_init()
/tools/perf/util/
Dcomm.c56 int cmp; in comm_str__findnew() local
62 cmp = strcmp(str, iter->str); in comm_str__findnew()
63 if (!cmp) in comm_str__findnew()
66 if (cmp < 0) in comm_str__findnew()
Dhist.c498 int64_t cmp; in hists__findnew_entry() local
514 cmp = hist_entry__cmp(he, entry); in hists__findnew_entry()
516 if (!cmp) { in hists__findnew_entry()
543 if (cmp < 0) in hists__findnew_entry()
1076 int64_t cmp = 0; in hist_entry__cmp() local
1083 cmp = fmt->cmp(fmt, left, right); in hist_entry__cmp()
1084 if (cmp) in hist_entry__cmp()
1088 return cmp; in hist_entry__cmp()
1096 int64_t cmp = 0; in hist_entry__collapse() local
1103 cmp = fmt->collapse(fmt, left, right); in hist_entry__collapse()
[all …]
Dcallchain.c646 enum match_result cmp = MATCH_ERROR; in append_chain() local
661 cmp = match_chain(node, cnode); in append_chain()
662 if (cmp != MATCH_EQ) in append_chain()
672 WARN_ONCE(cmp == MATCH_ERROR, "Chain comparison error\n"); in append_chain()
673 return cmp; in append_chain()
Dsymbol.c411 int cmp; in symbols__find_by_name() local
414 cmp = arch__compare_symbol_names(name, s->sym.name); in symbols__find_by_name()
416 if (cmp < 0) in symbols__find_by_name()
418 else if (cmp > 0) in symbols__find_by_name()
893 int cmp; in find_module() local
896 cmp = strcmp(name, m->name); in find_module()
897 if (cmp < 0) in find_module()
899 else if (cmp > 0) in find_module()
Dhist.h240 int64_t (*cmp)(struct perf_hpp_fmt *fmt, member
Dsort.c1640 hse->hpp.cmp = __sort__hpp_cmp; in __sort_dimension__alloc_hpp()
1942 return fmt->cmp == __sort__hde_cmp; in perf_hpp__is_dynamic_entry()
1989 hde->hpp.cmp = __sort__hde_cmp; in __alloc_dynamic_entry()
/tools/lib/subcmd/
Dhelp.c61 int cmp; in exclude_cmds() local
65 cmp = strcmp(cmds->names[ci]->name, excludes->names[ei]->name); in exclude_cmds()
66 if (cmp < 0) in exclude_cmds()
68 else if (cmp == 0) in exclude_cmds()
70 else if (cmp > 0) in exclude_cmds()
/tools/lib/traceevent/
DMakefile206 if [ -r $@ ] && cmp -s $@ $@.tmp; then \
221 if [ -r $@ ] && cmp -s $@ $@.tmp; then \
/tools/lib/bpf/
DMakefile173 if [ -r $@ ] && cmp -s $@ $@.tmp; then \
/tools/perf/tests/
Dswitch-tracking.c247 s64 cmp = nodea->event_time - nodeb->event_time; in compar() local
249 return cmp; in compar()
/tools/perf/ui/
Dhist.c397 .cmp = hpp__nop_cmp, \
411 .cmp = hpp__nop_cmp, \
424 .cmp = hpp__nop_cmp, \
/tools/testing/selftests/ntb/
Dntb_test.sh247 cmp -n $MW_SIZE "$A" "$B"
/tools/arch/x86/lib/
Dmemcpy_64.S65 cmp %dil, %sil
/tools/testing/ktest/
Dktest.pl785 my ($lval, $cmp, $rval) = @_;
795 if ($cmp eq "==") {
797 } elsif ($cmp eq "!=") {
799 } elsif ($cmp eq "=~") {
801 } elsif ($cmp eq "!~") {
805 my $statement = "$lval $cmp $rval";
/tools/perf/Documentation/
Dexamples.txt205 83.42 : 31a2e95609: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax
Dperf-config.txt250 │1333:└─→cmp %r15,%r14
258 │1333: cmp %r15,%r14
/tools/perf/scripts/python/
Dnetdev-times.py174 all_event_list.sort(lambda a,b :cmp(a[EINFO_IDX_TIME],
/tools/perf/util/intel-pt-decoder/
Dintel-pt-decoder.c2385 int cmp = intel_pt_tsc_cmp(tsc_a, tsc_b); in intel_pt_find_overlap_tsc() local
2388 if (!cmp && rem_b >= rem_a) { in intel_pt_find_overlap_tsc()
2392 if (cmp < 0) in intel_pt_find_overlap_tsc()