Home
last modified time | relevance | path

Searched refs:out (Results 1 – 25 of 311) sorted by relevance

12345678910>>...13

/tools/perf/util/
Ddemangle-rust.c51 static bool unescape(const char **in, char **out, const char *seq, char value);
185 char *out; in rust_demangle_sym() local
192 out = sym; in rust_demangle_sym()
198 if (!(unescape(&in, &out, "$C$", ',') in rust_demangle_sym()
199 || unescape(&in, &out, "$SP$", '@') in rust_demangle_sym()
200 || unescape(&in, &out, "$BP$", '*') in rust_demangle_sym()
201 || unescape(&in, &out, "$RF$", '&') in rust_demangle_sym()
202 || unescape(&in, &out, "$LT$", '<') in rust_demangle_sym()
203 || unescape(&in, &out, "$GT$", '>') in rust_demangle_sym()
204 || unescape(&in, &out, "$LP$", '(') in rust_demangle_sym()
[all …]
Dmem-events.c116 int perf_mem__tlb_scnprintf(char *out, size_t sz, struct mem_info *mem_info) in perf_mem__tlb_scnprintf() argument
123 out[0] = '\0'; in perf_mem__tlb_scnprintf()
138 strcat(out, " or "); in perf_mem__tlb_scnprintf()
141 l += scnprintf(out + l, sz - l, tlb_access[i]); in perf_mem__tlb_scnprintf()
143 if (*out == '\0') in perf_mem__tlb_scnprintf()
144 l += scnprintf(out, sz - l, "N/A"); in perf_mem__tlb_scnprintf()
146 l += scnprintf(out + l, sz - l, " hit"); in perf_mem__tlb_scnprintf()
148 l += scnprintf(out + l, sz - l, " miss"); in perf_mem__tlb_scnprintf()
178 int perf_mem__lvl_scnprintf(char *out, size_t sz, struct mem_info *mem_info) in perf_mem__lvl_scnprintf() argument
189 out[0] = '\0'; in perf_mem__lvl_scnprintf()
[all …]
Dtrace-event-info.c60 goto out; in record_file()
68 goto out; in record_file()
79 goto out; in record_file()
83 out: in record_file()
101 goto out; in record_header_files()
106 goto out; in record_header_files()
111 goto out; in record_header_files()
120 goto out; in record_header_files()
125 goto out; in record_header_files()
130 goto out; in record_header_files()
[all …]
Dtrace-event-read.c111 goto out; in read_string()
116 goto out; in read_string()
124 goto out; in read_string()
139 out: in read_string()
258 goto out; in read_ftrace_file()
264 out: in read_ftrace_file()
283 goto out; in read_event_file()
288 out: in read_event_file()
362 goto out; in read_saved_cmdline()
367 out: in read_saved_cmdline()
[all …]
/tools/testing/selftests/bpf/progs/
Dtest_core_reloc_ints.c12 char out[256]; member
30 struct core_reloc_ints *out = (void *)&data.out; in test_core_ints() local
32 if (BPF_CORE_READ(&out->u8_field, &in->u8_field) || in test_core_ints()
33 BPF_CORE_READ(&out->s8_field, &in->s8_field) || in test_core_ints()
34 BPF_CORE_READ(&out->u16_field, &in->u16_field) || in test_core_ints()
35 BPF_CORE_READ(&out->s16_field, &in->s16_field) || in test_core_ints()
36 BPF_CORE_READ(&out->u32_field, &in->u32_field) || in test_core_ints()
37 BPF_CORE_READ(&out->s32_field, &in->s32_field) || in test_core_ints()
38 BPF_CORE_READ(&out->u64_field, &in->u64_field) || in test_core_ints()
39 BPF_CORE_READ(&out->s64_field, &in->s64_field)) in test_core_ints()
Dtest_core_reloc_mods.c12 char out[256]; member
48 struct core_reloc_mods_output *out = (void *)&data.out; in test_core_mods() local
50 if (BPF_CORE_READ(&out->a, &in->a) || in test_core_mods()
51 BPF_CORE_READ(&out->b, &in->b) || in test_core_mods()
52 BPF_CORE_READ(&out->c, &in->c) || in test_core_mods()
53 BPF_CORE_READ(&out->d, &in->d) || in test_core_mods()
54 BPF_CORE_READ(&out->e, &in->e[2]) || in test_core_mods()
55 BPF_CORE_READ(&out->f, &in->f[1]) || in test_core_mods()
56 BPF_CORE_READ(&out->g, &in->g.x) || in test_core_mods()
57 BPF_CORE_READ(&out->h, &in->h.y)) in test_core_mods()
Dtest_core_reloc_primitives.c12 char out[256]; member
32 struct core_reloc_primitives *out = (void *)&data.out; in test_core_primitives() local
34 if (BPF_CORE_READ(&out->a, &in->a) || in test_core_primitives()
35 BPF_CORE_READ(&out->b, &in->b) || in test_core_primitives()
36 BPF_CORE_READ(&out->c, &in->c) || in test_core_primitives()
37 BPF_CORE_READ(&out->d, &in->d) || in test_core_primitives()
38 BPF_CORE_READ(&out->f, &in->f)) in test_core_primitives()
Dtest_core_reloc_arrays.c12 char out[256]; member
38 struct core_reloc_arrays_output *out = (void *)&data.out; in test_core_arrays() local
41 if (BPF_CORE_READ(&out->a2, &in->a[2])) in test_core_arrays()
44 if (BPF_CORE_READ(&out->b123, &in->b[1][2][3])) in test_core_arrays()
47 if (BPF_CORE_READ(&out->c1c, &in->c[1].c)) in test_core_arrays()
50 if (BPF_CORE_READ(&out->d00d, &in->d[0][0].d)) in test_core_arrays()
Dtest_core_reloc_flavors.c12 char out[256]; member
48 struct core_reloc_flavors *out = (void *)&data.out; in test_core_flavors() local
51 if (BPF_CORE_READ(&out->a, &in_weird->a)) in test_core_flavors()
54 if (BPF_CORE_READ(&out->b, &in_rev->b)) in test_core_flavors()
57 if (BPF_CORE_READ(&out->c, &in_orig->c)) in test_core_flavors()
Dtest_core_reloc_misc.c12 char out[256]; member
41 struct core_reloc_misc_output *out = (void *)&data.out; in test_core_misc() local
44 if (BPF_CORE_READ(&out->a, &in_a->a1) || /* accessor: 0:0 */ in test_core_misc()
45 BPF_CORE_READ(&out->b, &in_b->b1)) /* accessor: 0:0 */ in test_core_misc()
52 if (BPF_CORE_READ(&out->c, &in_ext[2])) /* accessor: 2 */ in test_core_misc()
Dtest_core_reloc_nesting.c12 char out[256]; member
37 struct core_reloc_nesting *out = (void *)&data.out; in test_core_nesting() local
39 if (BPF_CORE_READ(&out->a.a.a, &in->a.a.a)) in test_core_nesting()
41 if (BPF_CORE_READ(&out->b.b.b, &in->b.b.b)) in test_core_nesting()
Dtest_core_reloc_ptr_as_arr.c12 char out[256]; member
23 struct core_reloc_ptr_as_arr *out = (void *)&data.out; in test_core_ptr_as_arr() local
25 if (BPF_CORE_READ(&out->a, &in[2].a)) in test_core_ptr_as_arr()
/tools/build/tests/
Drun.sh5 make -C ex V=1 clean > ex.out 2>&1
6 make -C ex V=1 >> ex.out 2>&1
14 rm -f ex.out
18 make -C ex V=1 clean > ex.out 2>&1
21 make -rR -C ex V=1 ex.o >> ex.out 2>&1
22 make -rR -C ex V=1 ex.i >> ex.out 2>&1
23 make -rR -C ex V=1 ex.s >> ex.out 2>&1
36 rm -f ex.out
40 make -C ex V=1 clean > ex.out 2>&1
44 make -C ex V=1 CFLAGS=-DINCLUDE >> ex.out 2>&1
[all …]
/tools/bpf/bpftool/
Djson_writer.c22 FILE *out; /* output file */ member
33 fputs(" ", self->out); in jsonw_indent()
42 putc('\n', self->out); in jsonw_eol()
50 putc(self->sep, self->out); in jsonw_eor()
59 putc('"', self->out); in jsonw_puts()
63 fputs("\\t", self->out); in jsonw_puts()
66 fputs("\\n", self->out); in jsonw_puts()
69 fputs("\\r", self->out); in jsonw_puts()
72 fputs("\\f", self->out); in jsonw_puts()
75 fputs("\\b", self->out); in jsonw_puts()
[all …]
/tools/testing/selftests/bpf/
Dtest_socket_cookie.c34 goto out; in start_server()
52 goto out; in start_server()
57 out: in start_server()
70 goto out; in connect_to_server()
83 goto out; in connect_to_server()
88 out: in connect_to_server()
113 goto out; in validate_map()
123 goto out; in validate_map()
126 out: in validate_map()
150 goto out; in run_test()
[all …]
Dtest_tcp_check_syncookie_user.c28 goto out; in start_server()
41 goto out; in start_server()
46 out: in start_server()
58 goto out; in connect_to_server()
64 goto out; in connect_to_server()
72 goto out; in connect_to_server()
77 out: in connect_to_server()
174 goto out; in run_test()
192 goto out; in run_test()
196 out: in run_test()
[all …]
/tools/testing/selftests/timers/
Dset-2038.c93 goto out; in main()
97 goto out; in main()
101 goto out; in main()
108 goto out; in main()
113 goto out; in main()
117 goto out; in main()
122 goto out; in main()
127 out: in main()
/tools/perf/tests/
Dmem.c13 char out[100]; in check() local
19 n = perf_mem__snp_scnprintf(out, sizeof out, &mi); in check()
20 n += perf_mem__lvl_scnprintf(out + n, sizeof out - n, &mi); in check()
21 scnprintf(failure, sizeof failure, "unexpected %s", out); in check()
22 TEST_ASSERT_VAL(failure, !strcmp(string, out)); in check()
/tools/perf/arch/x86/tests/
Dbp-modify.c85 goto out; in bp_modify1()
92 goto out; in bp_modify1()
98 goto out; in bp_modify1()
103 goto out; in bp_modify1()
117 goto out; in bp_modify1()
122 out: in bp_modify1()
162 goto out; in bp_modify2()
168 goto out; in bp_modify2()
174 goto out; in bp_modify2()
179 goto out; in bp_modify2()
[all …]
/tools/testing/selftests/vm/
Dmlock2-tests.c44 goto out; in get_vm_area()
51 goto out; in get_vm_area()
62 goto out; in get_vm_area()
65 out: in get_vm_area()
136 goto out; in is_vmflag_set()
149 goto out; in is_vmflag_set()
152 out: in is_vmflag_set()
174 goto out; in is_vma_lock_on_fault()
179 goto out; in is_vma_lock_on_fault()
193 goto out; in is_vma_lock_on_fault()
[all …]
/tools/testing/selftests/ptrace/
Dpeeksiginfo.c65 goto out; in check_error_paths()
78 goto out; in check_error_paths()
87 goto out; in check_error_paths()
96 goto out; in check_error_paths()
100 out: in check_error_paths()
125 goto out; in check_direct_path()
138 goto out; in check_direct_path()
144 goto out; in check_direct_path()
148 out: in check_direct_path()
195 goto out; in main()
[all …]
/tools/lib/subcmd/
Drun-command.c43 if (cmd->out > 0) in start_command()
44 close(cmd->out); in start_command()
52 && cmd->out < 0; in start_command()
61 cmd->out = fdout[0]; in start_command()
73 else if (cmd->out) in start_command()
74 close(cmd->out); in start_command()
107 } else if (cmd->out > 1) { in start_command()
108 dup2(cmd->out, 1); in start_command()
109 close(cmd->out); in start_command()
141 else if (cmd->out) in start_command()
[all …]
Dsubcmd-util.h65 #define astrcatf(out, fmt, ...) \ argument
67 char *tmp = *(out); \
68 if (asprintf((out), "%s" fmt, tmp ?: "", ## __VA_ARGS__) == -1) \
73 static inline void astrcat(char **out, const char *add) in astrcat() argument
75 char *tmp = *out; in astrcat()
77 if (asprintf(out, "%s%s", tmp ?: "", add) == -1) in astrcat()
/tools/vm/
Dslabinfo-gnuplot.sh143 local out
151 out=`basename "$in"`"-slabs-by-loss"
154 | awk '{print $1" "$4+$2*$3" "$4}' > "$out"`
156 do_slabs_plotting "$out"
160 out=`basename "$in"`"-slabs-by-size"
163 | awk '{print $1" "$4" "$4-$2*$3}' > "$out"`
165 do_slabs_plotting "$out"
168 out=`basename "$in"`"-totals"
170 awk '{print $3" "$7}' > "$out"`
172 t_files[0]=$out
/tools/testing/selftests/net/
Dreuseaddr_conflict.c53 goto out; in open_port()
59 goto out; in open_port()
65 goto out; in open_port()
70 goto out; in open_port()
78 goto out; in open_port()
81 out: in open_port()

12345678910>>...13