Home
last modified time | relevance | path

Searched refs:cp (Results 1 – 25 of 42) sorted by relevance

12

/tools/perf/util/
Dcall-path.c14 static void call_path__init(struct call_path *cp, struct call_path *parent, in call_path__init() argument
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()
21 cp->in_kernel = in_kernel; in call_path__init()
22 RB_CLEAR_NODE(&cp->rb_node); in call_path__init()
23 cp->children = RB_ROOT; in call_path__init()
55 struct call_path *cp; in call_path__new() local
70 cp = &cpb->cp[n]; in call_path__new()
[all …]
Dthread-stack.c61 struct call_path *cp; member
295 return ts->stack[ts->cnt - 1].cp->in_kernel; in thread_stack__in_kernel()
312 cr.cp = tse->cp; in thread_stack__call_return()
782 u64 timestamp, u64 ref, struct call_path *cp, in thread_stack__push_cp() argument
788 if (!cp) in thread_stack__push_cp()
804 tse->cp = cp; in thread_stack__push_cp()
825 if (tse->cp->sym == sym) in thread_stack__pop_cp()
864 struct call_path *cp; in thread_stack__bottom() local
878 cp = call_path__findnew(cpr, &cpr->call_path, sym, ip, in thread_stack__bottom()
881 return thread_stack__push_cp(ts, ip, sample->time, ref, cp, in thread_stack__bottom()
[all …]
Ddb-export.c383 struct call_path *cp = call_path_from_sample(dbe, al->maps->machine, in db_export__sample() local
386 if (cp) { in db_export__sample()
387 db_export__call_path(dbe, cp); in db_export__sample()
388 es.call_path_id = cp->db_id; in db_export__sample()
479 int db_export__call_path(struct db_export *dbe, struct call_path *cp) in db_export__call_path() argument
483 if (cp->db_id) in db_export__call_path()
486 if (cp->parent) { in db_export__call_path()
487 err = db_export__call_path(dbe, cp->parent); in db_export__call_path()
492 cp->db_id = ++dbe->call_path_last_db_id; in db_export__call_path()
495 return dbe->export_call_path(dbe, cp); in db_export__call_path()
[all …]
Dcall-path.h43 struct call_path cp[CALL_PATH_BLOCK_SIZE]; member
Dtime-utils.c123 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()
Ddb-export.h57 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/
Dnames.c293 char buf[512], *cp; in parse() local
305 cp = strchr(buf, '\r'); in parse()
306 if (cp) in parse()
307 *cp = 0; in parse()
308 cp = strchr(buf, '\n'); in parse()
309 if (cp) in parse()
310 *cp = 0; in parse()
313 cp = buf; in parse()
339 cp = buf+2; in parse()
340 while (isspace(*cp)) in parse()
[all …]
/tools/bpf/bpftool/
Dmain.c205 char *cp = line; in make_args() local
208 while (*cp) { in make_args()
210 cp += strspn(cp, ws); in make_args()
212 if (*cp == '\0') in make_args()
221 if (*cp == '\'' || *cp == '"') { in make_args()
222 char quote = *cp++; in make_args()
224 n_argv[n_argc++] = cp; in make_args()
226 cp = strchr(cp, quote); in make_args()
227 if (!cp) { in make_args()
233 n_argv[n_argc++] = cp; in make_args()
[all …]
/tools/perf/arch/s390/util/
Dheader.c32 char *cp, *line = NULL, *line2; in get_cpuid() local
64 while ((cp = strtok_r(line2, "\n ", &line2))) { in get_cpuid()
66 sizeof(manufacturer) - mfsize, "%s", cp); 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()
[all …]
/tools/lib/
Dargv_split.c11 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/
Dcpufreq-set.c69 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/io_uring/
DMakefile6 all: io_uring-cp io_uring-bench
13 io_uring-cp: setup.o syscall.o queue.o
16 $(RM) io_uring-cp io_uring-bench *.o
DREADME4 io_uring-cp
5 A very basic io_uring implementation of cp(1). It takes two
/tools/testing/selftests/ftrace/test.d/ftrace/
Dfunc_profile_stat.tc10 cp trace_stat/function0 $TMPDIR/
18 cp trace_stat/function0 $TMPDIR/
/tools/testing/selftests/rcutorture/bin/
Dkvm-test-1-run.sh73 cp $T/KcList $resdir/ConfigFragment
91 cp vmlinux $resdir
92 cp .config $resdir
93 cp Module.symvers $resdir > /dev/null || :
94 cp System.map $resdir > /dev/null || :
97 cp $BOOT_IMAGE $resdir
108 cp .config $resdir || :
Dkvm-build.sh30 cp ${config_template} $T/config
Dconfiginit.sh38 cp .config .config.new
/tools/testing/ktest/examples/
Dsnowball.conf24 SWITCH_TO_GOOD = cp ${TFTPDEF} ${TARGET_IMAGE}
25 SWITCH_TO_TEST = cp ${TFTPTEST} ${TARGET_IMAGE}
/tools/hv/
Dhv_set_ifconfig.sh59 cp $1 /etc/sysconfig/network-scripts/
/tools/testing/selftests/resctrl/
Dfill_buf.c54 char *cp = (char *)p; in mem_flush() local
60 cl_flush(&cp[i * CL_SIZE]); in mem_flush()
/tools/testing/selftests/arm64/signal/
DMakefile22 cp $(PROGS) $(OUTPUT)/
/tools/perf/Documentation/
Dbuild-xed.txt11 $ sudo cp obj/examples/xed /usr/local/bin
/tools/testing/scatterlist/
DMakefile32 @cp $< linux/scatterlist.h
/tools/testing/selftests/exec/
DMakefile28 cp $< $@
/tools/power/acpi/
DMakefile.rules20 $(QUIET) cp -rf $(srctree)/../../../include/acpi $(KERNEL_INCLUDE)/

12