/tools/perf/util/ |
D | call-path.c | 22 static void call_path__init(struct call_path *cp, struct call_path *parent, in call_path__init() argument 25 cp->parent = parent; in call_path__init() 26 cp->sym = sym; in call_path__init() 27 cp->ip = sym ? 0 : ip; in call_path__init() 28 cp->db_id = 0; in call_path__init() 29 cp->in_kernel = in_kernel; in call_path__init() 30 RB_CLEAR_NODE(&cp->rb_node); in call_path__init() 31 cp->children = RB_ROOT; in call_path__init() 63 struct call_path *cp; in call_path__new() local 78 cp = &cpb->cp[n]; in call_path__new() [all …]
|
D | thread-stack.c | 45 struct call_path *cp; member 158 return ts->stack[ts->cnt - 1].cp->in_kernel; in thread_stack__in_kernel() 174 cr.cp = tse->cp; in thread_stack__call_return() 334 u64 timestamp, u64 ref, struct call_path *cp, in thread_stack__push_cp() argument 351 tse->cp = cp; in thread_stack__push_cp() 369 if (tse->cp->sym == sym) in thread_stack__pop_cp() 406 struct call_path *cp; in thread_stack__bottom() local 420 cp = call_path__findnew(cpr, &cpr->call_path, sym, ip, in thread_stack__bottom() 422 if (!cp) in thread_stack__bottom() 425 return thread_stack__push_cp(thread->ts, ip, sample->time, ref, cp, in thread_stack__bottom() [all …]
|
D | string.c | 67 static const char *skip_sep(const char *cp) in skip_sep() argument 69 while (*cp && isspace(*cp)) in skip_sep() 70 cp++; in skip_sep() 72 return cp; in skip_sep() 75 static const char *skip_arg(const char *cp) in skip_arg() argument 77 while (*cp && !isspace(*cp)) in skip_arg() 78 cp++; in skip_arg() 80 return cp; in skip_arg()
|
D | db-export.c | 396 struct call_path *cp = call_path_from_sample(dbe, al->machine, in db_export__sample() local 399 if (cp) { in db_export__sample() 400 db_export__call_path(dbe, cp); in db_export__sample() 401 es.call_path_id = cp->db_id; in db_export__sample() 470 int db_export__call_path(struct db_export *dbe, struct call_path *cp) in db_export__call_path() argument 474 if (cp->db_id) in db_export__call_path() 477 if (cp->parent) { in db_export__call_path() 478 err = db_export__call_path(dbe, cp->parent); in db_export__call_path() 483 cp->db_id = ++dbe->call_path_last_db_id; in db_export__call_path() 486 return dbe->export_call_path(dbe, cp); in db_export__call_path() [all …]
|
D | call-path.h | 52 struct call_path cp[CALL_PATH_BLOCK_SIZE]; member
|
D | db-export.h | 65 int (*export_call_path)(struct db_export *dbe, struct call_path *cp); 106 int db_export__call_path(struct db_export *dbe, struct call_path *cp);
|
D | thread-stack.h | 60 struct call_path *cp; member
|
/tools/usb/usbip/libsrc/ |
D | names.c | 311 char buf[512], *cp; in parse() local 323 cp = strchr(buf, '\r'); in parse() 324 if (cp) in parse() 325 *cp = 0; in parse() 326 cp = strchr(buf, '\n'); in parse() 327 if (cp) in parse() 328 *cp = 0; in parse() 331 cp = buf; in parse() 357 cp = buf+2; in parse() 358 while (isspace(*cp)) in parse() [all …]
|
/tools/power/cpupower/utils/ |
D | cpufreq-set.c | 70 int power = 0, match_count = 0, i, cp, pad; in string_to_frequency() local 99 for (cp = 0; isdigit(str[cp]); cp++) in string_to_frequency() 102 if (str[cp] == '.') { in string_to_frequency() 103 while (power > -1 && isdigit(str[cp+1])) in string_to_frequency() 104 cp++, power--; in string_to_frequency() 109 pad = 0, cp += power + 1; in string_to_frequency() 111 if (cp <= 0 || cp + pad > NORM_FREQ_LEN - 1) in string_to_frequency() 115 for (i = 0; i < cp; i++, str++) { in string_to_frequency() 121 for (; i < cp + pad; i++) in string_to_frequency()
|
/tools/testing/selftests/rcutorture/bin/ |
D | kvm-test-1-run.sh | 73 cp $config_template $T/Kc1 86 cp $T/Kc1 $T/Kc2 106 cp $builddir/Make*.out $resdir 107 cp $builddir/vmlinux $resdir 108 cp $builddir/.config $resdir 111 cp $builddir/$BOOT_IMAGE $resdir 122 cp $builddir/Make*.out $resdir 123 cp $builddir/.config $resdir || :
|
D | kvm-build.sh | 42 cp ${config_template} $T/config
|
D | configinit.sh | 68 cp $builddir/.config $builddir/.config.new
|
/tools/testing/ktest/examples/ |
D | snowball.conf | 24 SWITCH_TO_GOOD = cp ${TFTPDEF} ${TARGET_IMAGE} 25 SWITCH_TO_TEST = cp ${TFTPTEST} ${TARGET_IMAGE}
|
/tools/hv/ |
D | hv_set_ifconfig.sh | 59 cp $1 /etc/sysconfig/network-scripts/
|
/tools/testing/selftests/exec/ |
D | Makefile | 22 cp $< $@
|
/tools/power/acpi/ |
D | Makefile.rules | 23 $(QUIET) cp -rf $(srctree)/../../../include/acpi $(KERNEL_INCLUDE)/
|
/tools/testing/selftests/intel_pstate/ |
D | run.sh | 59 cp /tmp/result.freqs /tmp/result.$1
|
/tools/perf/util/scripting-engines/ |
D | trace-event-python.c | 880 static int python_export_call_path(struct db_export *dbe, struct call_path *cp) in python_export_call_path() argument 886 parent_db_id = cp->parent ? cp->parent->db_id : 0; in python_export_call_path() 887 sym_db_id = cp->sym ? *(u64 *)symbol__priv(cp->sym) : 0; in python_export_call_path() 891 tuple_set_u64(t, 0, cp->db_id); in python_export_call_path() 894 tuple_set_u64(t, 3, cp->ip); in python_export_call_path() 915 tuple_set_u64(t, 3, cr->cp->db_id); in python_export_call_return() 921 tuple_set_u64(t, 9, cr->cp->parent->db_id); in python_export_call_return()
|
/tools/power/cpupower/ |
D | Makefile | 89 CP = cp -fpR
|
/tools/perf/ |
D | perf-with-kcore.sh | 78 $SUDO cp -a "$KCORE_DIR" "$(pwd)/$PERF_DATA_DIR"
|
D | builtin-diff.c | 192 int *cp = (int *) opt->value; in setup_compute() local 199 *cp = COMPUTE_DELTA; in setup_compute() 223 *cp = i; in setup_compute()
|
D | Makefile.perf | 447 cp $(PYTHON_EXTBUILD_LIB)perf.so $(OUTPUT)python/ 824 @cp $(OUTPUT)FEATURE-DUMP $(FEATURE_DUMP_COPY)
|
/tools/lib/traceevent/ |
D | Makefile | 277 cp -fpR $(LIB_INSTALL) $(DESTDIR)$(libdir_SQ)
|
/tools/power/x86/turbostat/ |
D | turbostat.c | 237 struct msr_counter *cp; member 592 for (mp = sys.cp; mp; mp = mp->next) { in print_header() 717 for (i = 0, mp = sys.cp; mp; i++, mp = mp->next) { in dump_counters() 899 for (i = 0, mp = sys.cp; mp; i++, mp = mp->next) { in format_counters() 1123 for (i = 0, mp = sys.cp; mp; i++, mp = mp->next) { in delta_core() 1275 for (i = 0, mp = sys.cp; mp; i++, mp = mp->next) in clear_counters() 1312 for (i = 0, mp = sys.cp; mp; i++, mp = mp->next) { in sum_counters() 1420 for (i = 0, mp = sys.cp; mp; i++, mp = mp->next) { in compute_average() 1631 for (i = 0, mp = sys.cp; mp; i++, mp = mp->next) { in get_counters() 4675 msrp->next = sys.cp; in add_counter() [all …]
|
/tools/testing/ktest/ |
D | ktest.pl | 1640 cp "$source", "$dir/$name" or
|