| /tools/perf/util/ |
| A D | call-path.c | 17 cp->parent = parent; in call_path__init() 18 cp->sym = sym; in call_path__init() 19 cp->ip = sym ? 0 : ip; in call_path__init() 20 cp->db_id = 0; in call_path__init() 70 cp = &cpb->cp[n]; in call_path__new() 74 return cp; in call_path__new() 97 if (cp->sym == sym && cp->ip == ip) in call_path__findnew() 98 return cp; in call_path__findnew() 100 if (sym < cp->sym || (sym == cp->sym && ip < cp->ip)) in call_path__findnew() 107 if (!cp) in call_path__findnew() [all …]
|
| A D | thread-stack.c | 61 struct call_path *cp; member 312 cr.cp = tse->cp; in thread_stack__call_return() 789 if (!cp) in thread_stack__push_cp() 805 tse->cp = cp; in thread_stack__push_cp() 988 cp = call_path__findnew(cpr, cp, fsym, ip, ks); in thread_stack__no_call_return() 1030 cp = call_path__findnew(cpr, ts->stack[ts->cnt - 1].cp, NULL, 0, in thread_stack__trace_end() 1090 cp = call_path__findnew(cpr, ts->stack[ts->cnt - 2].cp, tsym, in thread_stack__x86_retpoline() 1092 if (!cp) in thread_stack__x86_retpoline() 1096 ts->stack[ts->cnt - 1].cp = cp; in thread_stack__x86_retpoline() 1161 cp = call_path__findnew(cpr, ts->stack[ts->cnt - 1].cp, in thread_stack__process() [all …]
|
| A D | db-export.c | 394 struct call_path *cp = call_path_from_sample(dbe, machine, in db_export__sample() local 397 if (cp) { in db_export__sample() 398 db_export__call_path(dbe, cp); in db_export__sample() 399 es.call_path_id = cp->db_id; in db_export__sample() 488 int db_export__call_path(struct db_export *dbe, struct call_path *cp) in db_export__call_path() argument 492 if (cp->db_id) in db_export__call_path() 495 if (cp->parent) { in db_export__call_path() 496 err = db_export__call_path(dbe, cp->parent); in db_export__call_path() 501 cp->db_id = ++dbe->call_path_last_db_id; in db_export__call_path() 504 return dbe->export_call_path(dbe, cp); in db_export__call_path() [all …]
|
| A D | call-path.h | 43 struct call_path cp[CALL_PATH_BLOCK_SIZE]; member
|
| A D | time-utils.c | 123 const char *cp; in perf_time__parse_strs() local 128 for (cp = ostr; *cp; cp++) in perf_time__parse_strs() 129 num += !!(*cp == ','); in perf_time__parse_strs()
|
| A D | db-export.h | 57 int (*export_call_path)(struct db_export *dbe, struct call_path *cp); 104 int db_export__call_path(struct db_export *dbe, struct call_path *cp);
|
| /tools/usb/usbip/libsrc/ |
| A D | names.c | 306 if (cp) in parse() 307 *cp = 0; in parse() 309 if (cp) in parse() 310 *cp = 0; in parse() 341 cp++; in parse() 346 u = strtoul(cp, &cp, 16); in parse() 348 cp++; in parse() 372 u = strtoul(cp, &cp, 16); in parse() 374 cp++; in parse() 391 cp++; in parse() [all …]
|
| /tools/perf/arch/s390/util/ |
| A D | header.c | 32 char *cp, *line = NULL, *line2; in get_cpuid() local 64 while ((cp = strtok_r(line2, "\n ", &line2))) { in get_cpuid() 73 while ((cp = strtok_r(line2, "\n ", &line2))) { in get_cpuid() 75 sizeof(type) - tpsize, "%s", cp); in get_cpuid() 82 while ((cp = strtok_r(line2, "\n ", &line2))) { in get_cpuid() 84 "%s%s", model[0] ? "," : "", cp); in get_cpuid() 108 while ((cp = strtok_r(line2, "\n ", &line2))) { in get_cpuid() 109 if (!strncmp(cp, SRVLVL_VERSION, in get_cpuid() 111 char *sep = strchr(cp, '='); in get_cpuid() 116 if (!strncmp(cp, SRVLVL_AUTHORIZATION, in get_cpuid() [all …]
|
| /tools/bpf/bpftool/ |
| A D | main.c | 282 while (*cp) { in make_args() 284 cp += strspn(cp, ws); in make_args() 295 if (*cp == '\'' || *cp == '"') { in make_args() 300 cp = strchr(cp, quote); in make_args() 301 if (!cp) { in make_args() 310 cp += strcspn(cp, ws); in make_args() 316 *cp++ = 0; in make_args() 330 char *cp; in do_batch() local 359 if (cp) in do_batch() 360 *cp = '\0'; in do_batch() [all …]
|
| /tools/lib/ |
| A D | argv_split.c | 11 static const char *skip_arg(const char *cp) in skip_arg() argument 13 while (*cp && !isspace(*cp)) in skip_arg() 14 cp++; in skip_arg() 16 return cp; in skip_arg()
|
| /tools/power/cpupower/utils/ |
| A D | cpufreq-set.c | 69 int power = 0, match_count = 0, i, cp, pad; in string_to_frequency() local 98 for (cp = 0; isdigit(str[cp]); cp++) in string_to_frequency() 101 if (str[cp] == '.') { in string_to_frequency() 102 while (power > -1 && isdigit(str[cp+1])) { in string_to_frequency() 103 cp++; in string_to_frequency() 111 cp += power + 1; in string_to_frequency() 114 if (cp <= 0 || cp + pad > NORM_FREQ_LEN - 1) in string_to_frequency() 118 for (i = 0; i < cp; i++, str++) { in string_to_frequency() 124 for (; i < cp + pad; i++) in string_to_frequency()
|
| /tools/testing/selftests/bpf/prog_tests/ |
| A D | cgroup_tcp_skb.c | 66 int err, cp; in talk_to_cgroup() local 98 cp = write(*client_fd, "hello", 5); in talk_to_cgroup() 99 if (!ASSERT_EQ(cp, 5, "write")) in talk_to_cgroup() 101 cp = read(*service_fd, buf, 5); in talk_to_cgroup() 102 if (!ASSERT_EQ(cp, 5, "read")) in talk_to_cgroup() 113 int err, cp; in talk_to_outside() local 145 cp = write(*client_fd, "hello", 5); in talk_to_outside() 146 if (!ASSERT_EQ(cp, 5, "write")) in talk_to_outside() 148 cp = read(*service_fd, buf, 5); in talk_to_outside() 149 if (!ASSERT_EQ(cp, 5, "read")) in talk_to_outside()
|
| /tools/testing/selftests/ftrace/test.d/ftrace/ |
| A D | func_profile_stat.tc | 10 cp trace_stat/function0 $TMPDIR/ 18 cp trace_stat/function0 $TMPDIR/
|
| /tools/testing/selftests/lsm/ |
| A D | lsm_list_modules_test.c | 79 char *cp; in TEST() local 89 cp = sysfs_lsms; in TEST() 138 ASSERT_EQ(0, strncmp(cp, name, strlen(name))); in TEST() 139 cp += strlen(name) + 1; in TEST()
|
| /tools/testing/selftests/exec/ |
| A D | Makefile | 40 cp $< $@ 55 cp $< $@ 57 cp $< $@
|
| /tools/testing/selftests/rcutorture/bin/ |
| A D | kvm-test-1-run.sh | 73 cp $T/KcList $resdir/ConfigFragment 102 cp vmlinux $resdir 103 cp .config $resdir 104 cp Module.symvers $resdir > /dev/null || : 105 cp System.map $resdir > /dev/null || : 108 cp $BOOT_IMAGE $resdir 119 cp .config $resdir || :
|
| A D | kvm-build.sh | 29 cp ${config_template} $T/config
|
| A D | configinit.sh | 37 cp .config .config.new
|
| A D | kvm-again.sh | 31 if ! cp "$oldrun/scenarios" $T/scenarios.oldrun 192 cp "$i" $T
|
| /tools/testing/ktest/examples/ |
| A D | snowball.conf | 24 SWITCH_TO_GOOD = cp ${TFTPDEF} ${TARGET_IMAGE} 25 SWITCH_TO_TEST = cp ${TFTPTEST} ${TARGET_IMAGE}
|
| /tools/testing/selftests/resctrl/ |
| A D | fill_buf.c | 43 unsigned char *cp = buf; in mem_flush() local 49 cl_flush(&cp[i * CL_SIZE]); in mem_flush()
|
| /tools/hv/ |
| A D | hv_set_ifconfig.sh | 82 cp $1 /etc/sysconfig/network-scripts/
|
| /tools/testing/selftests/arm64/signal/ |
| A D | Makefile | 21 cp $(PROGS) $(OUTPUT)/
|
| /tools/perf/Documentation/ |
| A D | build-xed.txt | 11 $ sudo cp obj/examples/xed /usr/local/bin
|
| /tools/testing/selftests/bpf/ |
| A D | ima_setup.sh | 49 cp "${TEST_BINARY}" "${mount_dir}"
|