Home
last modified time | relevance | path

Searched refs:stream (Results 1 – 25 of 34) sorted by relevance

12

/tools/testing/selftests/net/forwarding/
Dsch_ets_tests.sh85 local stream
91 for stream in ${streams[@]}; do
92 ets_start_traffic $stream
108 local stream=${streams[$i]}
110 notraf_eval "band $stream" ${d[$i]} $total
111 elif ((${WS[$stream]} == 0)); then
112 strict_eval "band $stream" ${d[$i]} $total
114 elif ((stream == low_stream)); then
118 multipath_eval "bands $low_stream:$stream" \
119 ${WS[$low_stream]} ${WS[$stream]} \
[all …]
Dsch_ets.sh40 local stream
42 for stream in ${streams[@]}; do
43 qdisc_parent_stats_get $swp2 10:$((stream + 1)) .bytes
/tools/perf/util/
Dstream.c50 s->streams = calloc(nr_streams_max, sizeof(struct stream)); in evlist_streams__new()
181 static struct stream *stream__callchain_match(struct stream *base_stream, in stream__callchain_match()
185 struct stream *pair_stream = &es_pair->streams[i]; in stream__callchain_match()
196 static struct stream *stream__match(struct stream *base_stream, in stream__match()
202 static void stream__link(struct stream *base_stream, struct stream *pair_stream) in stream__link()
212 struct stream *base_stream = &es_base->streams[i]; in evsel_streams__match()
213 struct stream *pair_stream; in evsel_streams__match()
221 static void print_callchain_pair(struct stream *base_stream, int idx, in print_callchain_pair()
267 static void print_stream_callchain(struct stream *stream, int idx, in print_stream_callchain() argument
270 struct callchain_node *cnode = stream->cnode; in print_stream_callchain()
[all …]
Dstream.h7 struct stream { struct
13 struct stream *streams; argument
Ddata-convert-bt.c53 struct bt_ctf_stream *stream; member
61 struct ctf_stream **stream; member
671 err = bt_ctf_stream_flush(cs->stream); in ctf_stream__flush()
689 struct bt_ctf_stream *stream = NULL; in ctf_stream__create() local
698 stream = bt_ctf_writer_create_stream(cw->writer, cw->stream_class); in ctf_stream__create()
699 if (!stream) { in ctf_stream__create()
704 pkt_ctx = bt_ctf_stream_get_packet_context(stream); in ctf_stream__create()
726 cs->stream = stream; in ctf_stream__create()
732 if (stream) in ctf_stream__create()
733 bt_ctf_stream_put(stream); in ctf_stream__create()
[all …]
/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c89 void regs_dump(FILE *stream, struct kvm_regs *regs, in regs_dump() argument
92 fprintf(stream, "%*srax: 0x%.16llx rbx: 0x%.16llx " in regs_dump()
96 fprintf(stream, "%*srsi: 0x%.16llx rdi: 0x%.16llx " in regs_dump()
100 fprintf(stream, "%*sr8: 0x%.16llx r9: 0x%.16llx " in regs_dump()
104 fprintf(stream, "%*sr12: 0x%.16llx r13: 0x%.16llx " in regs_dump()
108 fprintf(stream, "%*srip: 0x%.16llx rfl: 0x%.16llx\n", in regs_dump()
128 static void segment_dump(FILE *stream, struct kvm_segment *segment, in segment_dump() argument
131 fprintf(stream, "%*sbase: 0x%.16llx limit: 0x%.8x " in segment_dump()
135 fprintf(stream, "%*spresent: 0x%.2x dpl: 0x%.2x " in segment_dump()
139 fprintf(stream, "%*sg: 0x%.2x avl: 0x%.2x " in segment_dump()
[all …]
/tools/testing/selftests/mqueue/
Dmq_open_tests.c61 static inline void __set(FILE *stream, int value, char *err_msg);
63 static inline int get(FILE *stream);
64 static inline void set(FILE *stream, int value);
71 static inline void __set(FILE *stream, int value, char *err_msg) in __set() argument
73 rewind(stream); in __set()
74 if (fprintf(stream, "%d", value) < 0) in __set()
118 static inline int get(FILE *stream) in get() argument
121 rewind(stream); in get()
122 if (fscanf(stream, "%d", &value) != 1) in get()
127 static inline void set(FILE *stream, int value) in set() argument
[all …]
Dmq_perf_tests.c153 static inline void __set(FILE *stream, int value, char *err_msg);
157 static inline int get(FILE *stream);
158 static inline void set(FILE *stream, int value);
159 static inline int try_set(FILE *stream, int value);
165 static inline void __set(FILE *stream, int value, char *err_msg) in __set() argument
167 rewind(stream); in __set()
168 if (fprintf(stream, "%d", value) < 0) in __set()
238 static inline int get(FILE *stream) in get() argument
241 rewind(stream); in get()
242 if (fscanf(stream, "%d", &value) != 1) in get()
[all …]
/tools/perf/Documentation/
Dperf-inject.txt6 perf-inject - Filter to augment the events stream with additional information
15 perf-inject reads a perf-record event stream and repipes it to stdout. At any
16 point the processing code can inject other events into the event stream - in
18 stream.
21 needs userspace processing to augment the events stream with additional
28 Inject build-ids into the output stream
31 Inject build-ids of all DSOs into the output stream
/tools/testing/selftests/kvm/lib/s390x/
Dprocessor.c119 static void virt_dump_ptes(FILE *stream, struct kvm_vm *vm, uint8_t indent, in virt_dump_ptes() argument
128 fprintf(stream, "%*spte @ 0x%lx: 0x%016lx\n", in virt_dump_ptes()
133 static void virt_dump_region(FILE *stream, struct kvm_vm *vm, uint8_t indent, in virt_dump_region() argument
142 fprintf(stream, "%*srt%lde @ 0x%lx: 0x%016lx\n", in virt_dump_region()
146 virt_dump_region(stream, vm, indent + 2, in virt_dump_region()
149 virt_dump_ptes(stream, vm, indent + 2, in virt_dump_region()
155 void virt_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent) in virt_dump() argument
160 virt_dump_region(stream, vm, indent, vm->pgd); in virt_dump()
234 void vcpu_dump(FILE *stream, struct kvm_vm *vm, uint32_t vcpuid, uint8_t indent) in vcpu_dump() argument
241 fprintf(stream, "%*spstate: psw: 0x%.16llx:0x%.16llx\n", in vcpu_dump()
/tools/testing/selftests/kvm/lib/
Dkvm_util_internal.h74 void virt_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent);
91 void regs_dump(FILE *stream, struct kvm_regs *regs, uint8_t indent);
108 void sregs_dump(FILE *stream, struct kvm_sregs *sregs, uint8_t indent);
Dsparsebit.c872 static void dump_nodes(FILE *stream, struct node *nodep, in dump_nodes() argument
886 fprintf(stream, "%*s---- %s nodep: %p\n", indent, "", node_type, nodep); in dump_nodes()
887 fprintf(stream, "%*s parent: %p left: %p right: %p\n", indent, "", in dump_nodes()
889 fprintf(stream, "%*s idx: 0x%lx mask: 0x%x num_after: 0x%lx\n", in dump_nodes()
894 dump_nodes(stream, nodep->left, indent + 2); in dump_nodes()
898 dump_nodes(stream, nodep->right, indent + 2); in dump_nodes()
925 static void sparsebit_dump_internal(FILE *stream, struct sparsebit *s, in sparsebit_dump_internal() argument
929 fprintf(stream, "%*sroot: %p\n", indent, "", s->root); in sparsebit_dump_internal()
930 fprintf(stream, "%*snum_set: 0x%lx\n", indent, "", s->num_set); in sparsebit_dump_internal()
933 dump_nodes(stream, s->root, indent); in sparsebit_dump_internal()
[all …]
Dkvm_util.c1600 void vm_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent) in vm_dump() argument
1605 fprintf(stream, "%*smode: 0x%x\n", indent, "", vm->mode); in vm_dump()
1606 fprintf(stream, "%*sfd: %i\n", indent, "", vm->fd); in vm_dump()
1607 fprintf(stream, "%*spage_size: 0x%x\n", indent, "", vm->page_size); in vm_dump()
1608 fprintf(stream, "%*sMem Regions:\n", indent, ""); in vm_dump()
1610 fprintf(stream, "%*sguest_phys: 0x%lx size: 0x%lx " in vm_dump()
1615 fprintf(stream, "%*sunused_phy_pages: ", indent + 2, ""); in vm_dump()
1616 sparsebit_dump(stream, region->unused_phy_pages, 0); in vm_dump()
1618 fprintf(stream, "%*sMapped Virtual Pages:\n", indent, ""); in vm_dump()
1619 sparsebit_dump(stream, vm->vpages_mapped, indent + 2); in vm_dump()
[all …]
/tools/testing/selftests/drivers/net/mlxsw/
Dsch_ets.sh68 local stream
75 for stream in ${streams[@]}; do
76 qdisc_parent_stats_get $swp2 10:$((stream + 1)) .bytes
/tools/testing/selftests/kvm/lib/aarch64/
Dprocessor.c186 static void pte_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent, uint64_t page, int level) in pte_dump() argument
199 fprintf(stream, "%*s%s: %lx: %lx at %p\n", indent, "", type[level], pte, *ptep, ptep); in pte_dump()
200 pte_dump(stream, vm, indent + 1, pte_addr(vm, *ptep), level + 1); in pte_dump()
205 void virt_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent) in virt_dump() argument
217 fprintf(stream, "%*spgd: %lx: %lx at %p\n", indent, "", pgd, *ptep, ptep); in virt_dump()
218 pte_dump(stream, vm, indent + 1, pte_addr(vm, *ptep), level); in virt_dump()
304 void vcpu_dump(FILE *stream, struct kvm_vm *vm, uint32_t vcpuid, uint8_t indent) in vcpu_dump() argument
311 fprintf(stream, "%*spstate: 0x%.16lx pc: 0x%.16lx\n", in vcpu_dump()
/tools/testing/kunit/test_data/
Dtest_config_printk_time.log18 [ 0.060000] # Subtest: string-stream-test
23 [ 0.060000] ok 3 - string-stream-test
Dtest_pound_no_prefix.log20 # Subtest: string-stream-test
25 ok 3 - string-stream-test
Dtest_output_with_prefix_isolated_correctly.log19 [ 0.060000] # Subtest: string-stream-test
24 [ 0.060000] ok 3 - string-stream-test
Dtest_pound_sign.log20 [ 0.060000] # Subtest: string-stream-test
25 [ 0.060000] ok 3 - string-stream-test
Dtest_multiple_prefixes.log18 [ 0.060000][ T1] # Subtest: string-stream-test
23 [ 0.060000][ T1] ok 3 - string-stream-test
Dtest_interrupted_tap_output.log24 [ 0.060000] # Subtest: string-stream-test
29 [ 0.060000] ok 3 - string-stream-test
Dtest_kernel_panic_interrupt.log18 [ 0.060000] # Subtest: string-stream-test
/tools/testing/selftests/kvm/include/
Dsparsebit.h65 void sparsebit_dump(FILE *stream, struct sparsebit *sbit,
Dkvm_util.h84 void vm_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent);
102 void vcpu_dump(FILE *stream, struct kvm_vm *vm, uint32_t vcpuid,
/tools/include/uapi/sound/
Dasound.h346 int stream; /* RO/WR (control): stream direction */ member
728 int stream; /* WR: stream */ member
740 int stream; member
749 int stream; member

12