Home
last modified time | relevance | path

Searched refs:retval (Results 1 – 15 of 15) sorted by relevance

/tools/perf/scripts/python/Perf-Trace-Util/
DContext.c32 int retval; in perf_trace_context_common_pc() local
38 retval = common_pc(scripting_context); in perf_trace_context_common_pc()
40 return Py_BuildValue("i", retval); in perf_trace_context_common_pc()
48 int retval; in perf_trace_context_common_flags() local
54 retval = common_flags(scripting_context); in perf_trace_context_common_flags()
56 return Py_BuildValue("i", retval); in perf_trace_context_common_flags()
64 int retval; in perf_trace_context_common_lock_depth() local
70 retval = common_lock_depth(scripting_context); in perf_trace_context_common_lock_depth()
72 return Py_BuildValue("i", retval); in perf_trace_context_common_lock_depth()
/tools/power/x86/x86_energy_perf_policy/
Dx86_energy_perf_policy.c191 int retval; in get_msr() local
202 retval = pread(fd, &msr, sizeof msr, offset); in get_msr()
204 if (retval != sizeof msr) { in get_msr()
205 printf("pread cpu%d 0x%x = %d\n", cpu, offset, retval); in get_msr()
216 int retval; in put_msr() local
226 retval = pread(fd, &old_msr, sizeof old_msr, offset); in put_msr()
227 if (retval != sizeof old_msr) { in put_msr()
229 printf("pread cpu%d 0x%x = %d\n", cpu, offset, retval); in put_msr()
233 retval = pwrite(fd, &new_msr, sizeof new_msr, offset); in put_msr()
234 if (retval != sizeof new_msr) { in put_msr()
[all …]
/tools/testing/selftests/rcutorture/bin/
Dkvm-build.sh57 retval=$?
58 if test $retval -gt 1
64 retval=$?
65 if test $retval -ne 0 || grep "rcu[^/]*": < $builddir/Make.out | egrep -q "Stop|Error|error:|warnin…
/tools/power/cpupower/debug/i386/
Dintel_gsic.c19 int retval; in main() local
29 retval = LRMI_int(0x15, &r); in main()
31 if (!retval) { in main()
Dcentrino-decode.c35 int retval = -1; in rdmsr() local
57 retval = 0; in rdmsr()
61 return retval; in rdmsr()
/tools/perf/util/
Ddwarf-aux.c507 int retval; member
537 iwp->retval = iwp->callback(inst, iwp->data); in __die_walk_instances_cb()
539 return (iwp->retval) ? DIE_FIND_CB_END : DIE_FIND_CB_CONTINUE; in __die_walk_instances_cb()
561 .retval = -ENOENT, in die_walk_instances()
569 return iwp.retval; in die_walk_instances()
577 int retval; member
591 lw->retval = lw->callback(fname, lineno, addr, lw->data); in __die_walk_funclines_cb()
592 if (lw->retval != 0) in __die_walk_funclines_cb()
603 lw->retval = lw->callback(fname, lineno, addr, lw->data); in __die_walk_funclines_cb()
604 if (lw->retval != 0) in __die_walk_funclines_cb()
[all …]
Dprobe-finder.c894 int retval; member
917 param->retval = find_probe_point_by_line(pf); in probe_point_search_cb()
921 param->retval = find_probe_point_lazy(sp_die, pf); in probe_point_search_cb()
926 param->retval = -ENOENT; in probe_point_search_cb()
931 param->retval = call_probe_finder(sp_die, pf); in probe_point_search_cb()
935 param->retval = die_walk_instances(sp_die, in probe_point_search_cb()
944 .retval = 0}; in find_probe_point_by_func()
946 return _param.retval; in find_probe_point_by_func()
1524 param->retval = die_walk_instances(sp_die, in line_range_search_cb()
1527 param->retval = find_line_range_by_line(sp_die, lf); in line_range_search_cb()
[all …]
/tools/power/x86/turbostat/
Dturbostat.c208 int retval, pkg_no, core_no, thread_no; in for_all_cpus() local
226 retval = func(t, c, p); in for_all_cpus()
227 if (retval) in for_all_cpus()
228 return retval; in for_all_cpus()
247 ssize_t retval; in get_msr() local
256 retval = pread(fd, msr, sizeof *msr, offset); in get_msr()
259 if (retval != sizeof *msr) { in get_msr()
1310 int retval, pkg_no, core_no, thread_no; in for_all_cpus_2() local
1333 retval = func(t, c, p, t2, c2, p2); in for_all_cpus_2()
1334 if (retval) in for_all_cpus_2()
[all …]
/tools/testing/ktest/
Dktest.pl610 my $retval = "";
624 $retval = "$retval$begin";
626 $retval = "$retval$variable{$var}";
630 $retval = "${retval}0";
633 $retval = "$retval\$\{$var\}";
641 $retval = "$retval$value";
644 $retval =~ s/ //;
646 return "$retval"
1147 my $retval = "";
1167 $retval = "$retval$start";
[all …]
/tools/testing/selftests/ftrace/
Dftracetest142 local retval=$2
144 test $1 -ne 0 && retval=$FAIL
146 case $retval in
/tools/usb/
Dtestusb.c529 void *retval; in main() local
531 if (pthread_join (entry->thread, &retval)) in main()
/tools/perf/util/scripting-engines/
Dtrace-event-python.c89 PyObject *retval; in call_object() local
91 retval = PyObject_CallObject(handler, args); in call_object()
92 if (retval == NULL) in call_object()
94 Py_DECREF(retval); in call_object()
/tools/testing/selftests/mqueue/
Dmq_perf_tests.c543 void *retval; in main() local
736 pthread_join(cpu_threads[0], &retval); in main()
737 shutdown((long)retval, "perf_test_thread()", __LINE__); in main()
/tools/firewire/
Dnosy-dump.c912 int length, retval, view; in main() local
922 retval = poptGetNextOpt(con); in main()
923 if (retval < -1) { in main()
/tools/perf/Documentation/
Dperf-probe.txt137 [NAME=]LOCALVAR|$retval|%REG|@SYMBOL[:TYPE]
139 …var->array[0], var->pointer[2]), or kprobe-tracer argument format (e.g. $retval, %ax, etc). Note t…