Home
last modified time | relevance | path

Searched refs:from (Results 1 – 25 of 87) sorted by relevance

1234

/tools/virtio/linux/
Duaccess.h30 static void volatile_memcpy(volatile char *to, const volatile char *from, in volatile_memcpy() argument
34 *(to++) = *(from++); in volatile_memcpy()
37 static inline int copy_from_user(void *to, const void __user volatile *from, in copy_from_user() argument
40 __chk_user_ptr(from, n); in copy_from_user()
41 volatile_memcpy(to, from, n); in copy_from_user()
45 static inline int copy_to_user(void __user volatile *to, const void *from, in copy_to_user() argument
49 volatile_memcpy(to, from, n); in copy_to_user()
/tools/perf/util/
Dutil.c147 static int slow_copyfile(const char *from, const char *to, struct nsinfo *nsi) in slow_copyfile() argument
156 from_fp = fopen(from, "r"); in slow_copyfile()
206 static int copyfile_mode_ns(const char *from, const char *to, mode_t mode, in copyfile_mode_ns() argument
216 err = stat(from, &st); in copyfile_mode_ns()
241 err = slow_copyfile(from, tmp, nsi); in copyfile_mode_ns()
246 fromfd = open(from, O_RDONLY); in copyfile_mode_ns()
264 int copyfile_ns(const char *from, const char *to, struct nsinfo *nsi) in copyfile_ns() argument
266 return copyfile_mode_ns(from, to, 0755, nsi); in copyfile_ns()
269 int copyfile_mode(const char *from, const char *to, mode_t mode) in copyfile_mode() argument
271 return copyfile_mode_ns(from, to, mode, NULL); in copyfile_mode()
[all …]
Dbranch.c20 u64 from, u64 to) in branch_type_count() argument
22 if (flags->type == PERF_BR_UNKNOWN || from == 0) in branch_type_count()
28 if (to > from) in branch_type_count()
34 if (cross_area(from, to, AREA_2M)) in branch_type_count()
36 else if (cross_area(from, to, AREA_4K)) in branch_type_count()
Dutil.h36 int copyfile(const char *from, const char *to);
37 int copyfile_mode(const char *from, const char *to, mode_t mode);
38 int copyfile_ns(const char *from, const char *to, struct nsinfo *nsi);
Dbranch.h19 u64 from, u64 to);
Dstring2.h20 char *strxfrchar(char *s, char from, char to);
Dintel-bts.c89 u64 from; member
119 le64_to_cpu(branch->from), in intel_bts_dump()
290 sample.ip = le64_to_cpu(branch->from); in intel_bts_synth_branch_sample()
386 if (!branch->from) { in intel_bts_get_branch_type()
398 err = intel_bts_get_next_insn(btsq, branch->from); in intel_bts_get_branch_type()
406 branch->from); in intel_bts_get_branch_type()
411 if (!machine__kernel_ip(btsq->bts->machine, branch->from) && in intel_bts_get_branch_type()
446 if (!branch->from && !branch->to) in intel_bts_process_buffer()
451 le64_to_cpu(branch->from), in intel_bts_process_buffer()
Dstring.c314 char *strxfrchar(char *s, char from, char to) in strxfrchar() argument
318 while ((p = strchr(p, from)) != NULL) in strxfrchar()
Dsort.c369 struct map *map = left->branch_info->from.map; in sort__srcline_from_cmp()
375 left->branch_info->from.al_addr), in sort__srcline_from_cmp()
376 left->branch_info->from.sym, in sort__srcline_from_cmp()
380 struct map *map = right->branch_info->from.map; in sort__srcline_from_cmp()
386 right->branch_info->from.al_addr), in sort__srcline_from_cmp()
387 right->branch_info->from.sym, in sort__srcline_from_cmp()
419 left->branch_info->from.sym, in sort__srcline_to_cmp()
695 return _sort__dso_cmp(left->branch_info->from.map, in sort__dso_from_cmp()
696 right->branch_info->from.map); in sort__dso_from_cmp()
703 return _hist_entry__dso_snprintf(he->branch_info->from.map, in hist_entry__dso_from_snprintf()
[all …]
/tools/testing/selftests/bpf/
Dtest_tcp_estats.c171 static __always_inline void unaligned_u32_set(unsigned char *to, __u8 *from) in unaligned_u32_set() argument
173 to[0] = _(from[0]); in unaligned_u32_set()
174 to[1] = _(from[1]); in unaligned_u32_set()
175 to[2] = _(from[2]); in unaligned_u32_set()
176 to[3] = _(from[3]); in unaligned_u32_set()
Dtest_align.c680 static int do_test(unsigned int from, unsigned int to) in do_test() argument
686 for (i = from; i < to; i++) { in do_test()
708 unsigned int from = 0, to = ARRAY_SIZE(tests); in main() local
718 from = l; in main()
725 from = t; in main()
729 return do_test(from, to); in main()
Dbpf_helpers.h102 static int (*bpf_skb_store_bytes)(void *ctx, int off, void *from, int len, int flags) =
104 static int (*bpf_l3_csum_replace)(void *ctx, int off, int from, int to, int flags) =
106 static int (*bpf_l4_csum_replace)(void *ctx, int off, int from, int to, int flags) =
/tools/perf/
Dbuiltin-buildid-cache.c50 char from[PATH_MAX]; in same_kallsyms_reloc() local
56 scnprintf(from, sizeof(from), "%s/kallsyms", from_dir); in same_kallsyms_reloc()
60 err = kallsyms__get_function_start(from, name, &addr1); in same_kallsyms_reloc()
77 char from[PATH_MAX]; in build_id_cache__kcore_existing() local
88 scnprintf(from, sizeof(from), "%s/modules", from_dir); in build_id_cache__kcore_existing()
100 if (!compare_proc_modules(from, to) && in build_id_cache__kcore_existing()
DCREDITS2 from the Git project, as of version:
Dbuiltin-script.c575 u64 i, from, to; in print_sample_brstack() local
581 from = br->entries[i].from; in print_sample_brstack()
587 thread__find_addr_map(thread, sample->cpumode, MAP__FUNCTION, from, &alf); in print_sample_brstack()
591 printf(" 0x%"PRIx64, from); in print_sample_brstack()
619 u64 i, from, to; in print_sample_brstacksym() local
628 from = br->entries[i].from; in print_sample_brstacksym()
631 thread__find_addr_map(thread, sample->cpumode, MAP__FUNCTION, from, &alf); in print_sample_brstacksym()
666 u64 i, from, to; in print_sample_brstackoff() local
675 from = br->entries[i].from; in print_sample_brstackoff()
678 thread__find_addr_map(thread, sample->cpumode, MAP__FUNCTION, from, &alf); in print_sample_brstackoff()
[all …]
/tools/kvm/kvm_stat/
Dkvm_stat.txt18 This tool is useful for observing guest behavior from the host perspective.
19 Often conclusions about performance or buggy behavior can be drawn from the
69 retrieve statistics from tracepoints
73 retrieve statistics from debugfs
/tools/perf/Documentation/
Dperf-buildid-cache.txt16 files to/from the cache. In the future it should as well set upper limits for
43 from the cache.
47 path from the cache.
65 Obtain mount namespace information from the target pid. This is
67 different mount namespace from the perf(1) utility.
Dperf-diff.txt24 As the perf.data files could come from different binaries, the symbols addresses
109 (data from the first file other base baseline). Values more than 1
128 All samples from non-baseline perf.data files, that do not match any
183 - A/B being matching hist entry from data/baseline file specified
204 - A/B being matching hist entry from data/baseline file specified
215 - A/B being matching hist entry from data/baseline file specified
Dperf-script-python.txt25 Python script that aggregates and extracts useful information from a
82 useful if we want to later use the guidance we get from the
134 from perf_trace_context import *
135 from Core import *
219 from perf_trace_context import *
220 from Core import *
268 calling the print_syscall_totals() function from the trace_end()
282 from perf_trace_context import *
283 from Core import *
284 from Util import *
[all …]
Dperf-test.txt22 from 'perf test list'.
/tools/virtio/virtio-trace/
DREADME7 - splice the page from write_pipe to virtio-console without memory copying
9 - controlled by start/stop orders from a Host
16 4) After the controller of the trace agent receives a start order from a host,
18 5) The read/write threads start to read trace data from ring-buffers and
20 6) If the controller receives a stop order from a host, the read/write threads
103 read/write threads in the agent wait for start order from host. If you add -o
112 4) Start to read trace data by ordering from a host
116 5) Stop to read trace data by ordering from a host
/tools/testing/selftests/tc-testing/
DTODO.txt4 present, prevent the related categories from running.
/tools/testing/selftests/capabilities/
Dtest_execve.c156 int from = openat(fromfd, fromname, O_RDONLY); in copy_fromat_to() local
157 if (from == -1) in copy_fromat_to()
164 ssize_t sz = read(from, buf, sizeof(buf)); in copy_fromat_to()
175 close(from); in copy_fromat_to()
/tools/lib/lockdep/include/liblockdep/
Dcommon.h47 extern void debug_check_no_locks_freed(const void *from, unsigned long len);
/tools/power/cpupower/
DToDo7 RAM from HW on Intel SandyBridge -> another monitor?

1234