Home
last modified time | relevance | path

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

1234567

/tools/testing/selftests/arm64/fp/
Dassembler.h8 .macro __for from:req, to:req
9 .if (\from) == (\to)
10 _for__body %\from
12 __for \from, %(\from) + ((\to) - (\from)) / 2
13 __for %(\from) + ((\to) - (\from)) / 2 + 1, \to
17 .macro _for var:req, from:req, to:req, insn:vararg
25 __for \from, \to
/tools/testing/selftests/kvm/lib/x86_64/
Dhandlers.S51 .macro HANDLERS has_error from to
52 vector = \from
53 .rept \to - \from + 1
73 HANDLERS has_error=0 from=0 to=7
74 HANDLERS has_error=1 from=8 to=8
75 HANDLERS has_error=0 from=9 to=9
76 HANDLERS has_error=1 from=10 to=14
77 HANDLERS has_error=0 from=15 to=16
78 HANDLERS has_error=1 from=17 to=17
79 HANDLERS has_error=0 from=18 to=255
/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/
Dcopyfile.c14 static int slow_copyfile(const char *from, const char *to, struct nsinfo *nsi) in slow_copyfile() argument
23 from_fp = fopen(from, "r"); in slow_copyfile()
73 static int copyfile_mode_ns(const char *from, const char *to, mode_t mode, in copyfile_mode_ns() argument
83 err = stat(from, &st); in copyfile_mode_ns()
105 err = slow_copyfile(from, tmp, nsi); in copyfile_mode_ns()
115 fromfd = open(from, O_RDONLY); in copyfile_mode_ns()
133 int copyfile_ns(const char *from, const char *to, struct nsinfo *nsi) in copyfile_ns() argument
135 return copyfile_mode_ns(from, to, 0755, nsi); in copyfile_ns()
138 int copyfile_mode(const char *from, const char *to, mode_t mode) in copyfile_mode() argument
140 return copyfile_mode_ns(from, to, mode, NULL); in copyfile_mode()
[all …]
Dcopyfile.h11 int copyfile(const char *from, const char *to);
12 int copyfile_mode(const char *from, const char *to, mode_t mode);
13 int copyfile_ns(const char *from, const char *to, struct nsinfo *nsi);
Dbranch.h33 struct addr_map_symbol from; member
41 u64 from; member
82 u64 from, u64 to);
Dbranch.c19 u64 from, u64 to) in branch_type_count() argument
21 if (flags->type == PERF_BR_UNKNOWN || from == 0) in branch_type_count()
27 if (to > from) in branch_type_count()
33 if (cross_area(from, to, AREA_2M)) in branch_type_count()
35 else if (cross_area(from, to, AREA_4K)) in branch_type_count()
/tools/perf/include/bpf/
Dstdio.h12 #define puts(from) \ argument
13 ({ const int __len = sizeof(from); \
14 char __from[__len] = from; \
16 &__from, __len & (sizeof(from) - 1)); })
/tools/testing/selftests/
Drun_kselftest.sh24 -t | --test COLLECTION:TEST Run TEST from COLLECTION
25 -c | --collection COLLECTION Run all tests from COLLECTION
/tools/testing/selftests/bpf/progs/
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()
/tools/memory-model/litmus-tests/
DZ6.0+pooncerelease+poacquirerelease+fencembonceonce.litmus7 * when there is but one non-reads-from (AKA non-rf) link, does not suffice
8 * if there is more than one. Of the three processes, only P1() reads from
11 * to P0() is a read-to-write link (AKA a "from-reads" or just "fr" link).
DISA2+pooncerelease+poacquirerelease+poacquireonce.litmus9 * case (P2() to P0()), each process reads from the preceding process's
10 * write. In memory-model-speak, there is only one non-reads-from
DREADME7 successive reads from the same variable are ordered.
11 from a given variable followed by a write to that same variable
16 to a given variable followed by a read from that same variable
24 Test of independent reads from independent writes with smp_mb()
32 Test of independent reads from independent writes with nothing
54 load-buffering litmus test, where each process reads from one
59 litmus test, where each process reads from one of two variables then
175 the other process reads from these same variables, the corresponding
181 generate these strings from a given litmus test's actions. For example,
182 consider the processes from SB+rfionceonce-poonceonces.litmus:
[all …]
/tools/lib/traceevent/Documentation/
Dlibtraceevent-record_parse.txt7 Extract common fields from a record.
31 This set of functions can be used to extract common fields from a record.
33 The _tep_data_type()_ function gets the event id from the record _rec_.
37 The _tep_data_pid()_ function gets the process id from the record _rec_.
41 The _tep_data_preempt_count()_ function gets the preemption count from the
45 The _tep_data_flags()_ function gets the latency flags from the record _rec_.
Dlibtraceevent-header_page.txt21 These functions retrieve information from kernel context, stored in tracefs
23 from user space context are used.
27 This information is retrieved from tracefs events/header_page, "commit" field.
31 information is retrieved from tracefs events/header_page, "timestamp" field.
Dlibtraceevent-field_find.txt23 returned can be used to find the field content from within a data record.
60 /* Get pid from the data record */
69 /* Get softexpires parameter from the data record */
79 /* Get mode parameter from the data record */
/tools/perf/Documentation/
Dperf-buildid-cache.txt16 files to/from the cache. In the future it should as well set upper limits for
46 from the cache.
50 path from the cache.
67 List all valid binaries from cache.
73 Obtain mount namespace information from the target pid. This is
75 different mount namespace from the perf(1) utility.
Dperf-diff.txt24 As the perf.data files could come from different binaries, the symbols addresses
115 (data from the first file other base baseline). Values more than 1
138 Select from 0% to 10% time slice to diff:
146 Select from 0% to 10% and 30% to 40% slices to diff:
160 For example, we get the timestamp information from 'perf script'.
170 It analyzes the perf.data.old from the timestamp 3946.361400 to
171 the end of perf.data.old and analyzes the perf.data from the
187 aggregated by the branch records from samples.
196 All samples from non-baseline perf.data files, that do not match any
251 - A/B being matching hist entry from data/baseline file specified
[all …]
/tools/perf/
Dbuiltin-buildid-cache.c54 char from[PATH_MAX]; in same_kallsyms_reloc() local
60 scnprintf(from, sizeof(from), "%s/kallsyms", from_dir); in same_kallsyms_reloc()
64 err = kallsyms__get_function_start(from, name, &addr1); in same_kallsyms_reloc()
81 char from[PATH_MAX]; in build_id_cache__kcore_existing() local
92 scnprintf(from, sizeof(from), "%s/modules", from_dir); in build_id_cache__kcore_existing()
104 if (!compare_proc_modules(from, to) && in build_id_cache__kcore_existing()
/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/bpf/bpftool/Documentation/
Dcommon_options.rst21 logs from libbpf as well as from the verifier, when attempting to
Dbpftool-iter.rst35 The *pin* command creates a bpf iterator from *OBJ*,
62 Create a file-based bpf iterator from bpf_iter_netlink.o and pin it
69 Create a file-based bpf iterator from bpf_iter_hashmap.o and map with
/tools/lib/bpf/
DREADME.rst41 from an ELF file or from a buffer, ``struct bpf_program`` represents a
44 Functions that work with an object have names built from object name,
49 purpose of the function to open ELF file and create ``bpf_object`` from
53 object, ``bpf_program``, that is separated from other part of the name
99 This prevents from accidentally exporting a symbol, that is not supposed
111 starting from ``0.0.1``.
/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
75 retrieve statistics from debugfs
112 retrieve statistics from tracepoints
/tools/testing/selftests/rcutorture/bin/
Dkvm-check-branches.sh68 echo ' --- commit ' $i from branch $gitbr
79 echo kvm.sh return code $ret for commit $i from branch $gitbr

1234567