Home
last modified time | relevance | path

Searched refs:chain (Results 1 – 25 of 44) sorted by relevance

12

/tools/testing/selftests/drivers/net/ocelot/
Dtc_flower_chains.sh135 tc filter add dev $eth ingress chain 0 pref 49152 flower \
136 skip_sw action goto chain $(IS1 0)
137 tc filter add dev $eth ingress chain $(IS1 0) pref 49152 \
138 flower skip_sw action goto chain $(IS1 1)
139 tc filter add dev $eth ingress chain $(IS1 1) pref 49152 \
140 flower skip_sw action goto chain $(IS1 2)
141 tc filter add dev $eth ingress chain $(IS1 2) pref 49152 \
142 flower skip_sw action goto chain $(IS2 0 0)
153 tc filter add dev $eth ingress chain $(IS2 0 0) pref 49152 \
154 flower skip_sw action goto chain $(IS2 1 0)
[all …]
/tools/testing/selftests/net/forwarding/
Dtc_chains.sh38 tc filter add dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \
47 tc filter del dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \
57 tc filter add dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \
62 $tcflags dst_mac $h2mac action goto chain 1
78 tc filter del dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \
88 tc chain add dev $h2 ingress
97 tc chain add dev $h2 ingress chain 1
115 tc chain del dev $h2 ingress
118 tc chain del dev $h2 ingress chain 1
128 tc chain add dev $h2 ingress protocol ip \
[all …]
/tools/testing/selftests/netfilter/
Dnft_trans_stress.sh36 chain=$(printf "chain%03u" "$c")
37 echo "add chain inet $table $chain" >> "$tmp"
41 chain=$(printf "chain%03u" "$c")
43 echo "add rule inet $table $BASE counter jump $chain" >> "$tmp"
45 echo "add rule inet $table $chain counter return" >> "$tmp"
Dnft_queue.sh92 chain nfq {
96 chain pre {
100 chain input {
104 chain forward {
109 chain output {
114 chain post {
127 chain pre {
131 chain input {
135 chain forward {
139 chain output {
[all …]
Dconntrack_vrf.sh110 chain rawpre {
120 chain rawout {
164 chain rawout {
169 chain postrouting2 {
174 chain postrouting {
213 chain postrouting {
Dconntrack_icmp_related.sh136 chain forward {
153 chain input {
173 chain input {
181 chain output {
198 chain postrouting {
204 chain postrouting {
Dnft_nat.sh186 chain output {
244 ip netns exec "$ns0" nft flush chain ip6 nat output
261 chain output {
325 ip netns exec "$ns0" nft flush chain $family nat output
387 chain output {
454 chain postrouting {
509 ip netns exec "$ns0" nft flush chain $family nat postrouting
555 chain postrouting {
610 ip netns exec "$ns0" nft flush chain $family nat postrouting
654 chain prerouting {
[all …]
Dnft_meta.sh51 chain input {
66 chain output {
Dnft_conntrack_helper.sh78 chain pre {
82 chain output {
/tools/testing/selftests/vDSO/
Dparse_vdso.c50 ELF(Word) *bucket, *chain;
156 vdso_info.chain = &hash[vdso_info.nbucket + 2]; in vdso_init_from_sysinfo_ehdr()
207 ELF(Word) chain = vdso_info.bucket[elf_hash(name) % vdso_info.nbucket]; in vdso_sym()
209 for (; chain != STN_UNDEF; chain = vdso_info.chain[chain]) { in vdso_sym()
210 ELF(Sym) *sym = &vdso_info.symtab[chain]; in vdso_sym()
225 && !vdso_match_version(vdso_info.versym[chain], in vdso_sym()
/tools/perf/ui/stdio/
Dhist.c51 struct callchain_list *chain, in ipchain__fprintf_graph() argument
75 str = callchain_list__sym_name(chain, bf, sizeof(bf), false); in ipchain__fprintf_graph()
78 callchain_list_counts__printf_value(chain, NULL, in ipchain__fprintf_graph()
115 struct callchain_list *chain; in __callchain__fprintf_graph() local
153 list_for_each_entry(chain, &child->val, list) { in __callchain__fprintf_graph()
154 ret += ipchain__fprintf_graph(fp, child, chain, depth, in __callchain__fprintf_graph()
222 struct callchain_list *chain; in callchain__fprintf_graph() local
233 list_for_each_entry(chain, &cnode->val, list) { in callchain__fprintf_graph()
254 callchain_list__sym_name(chain, bf, in callchain__fprintf_graph()
260 chain, fp, NULL, 0); in callchain__fprintf_graph()
[all …]
/tools/perf/ui/browsers/
Dhists.c183 struct callchain_list *chain; in callchain_node__count_rows_rb_tree() local
186 list_for_each_entry(chain, &child->val, list) { in callchain_node__count_rows_rb_tree()
190 folded_sign = callchain_list__folded(chain); in callchain_node__count_rows_rb_tree()
204 struct callchain_list *chain; in callchain_node__count_flat_rows() local
208 list_for_each_entry(chain, &node->parent_val, list) { in callchain_node__count_flat_rows()
211 folded_sign = callchain_list__folded(chain); in callchain_node__count_flat_rows()
218 list_for_each_entry(chain, &node->val, list) { in callchain_node__count_flat_rows()
221 folded_sign = callchain_list__folded(chain); in callchain_node__count_flat_rows()
238 struct callchain_list *chain; in callchain_node__count_rows() local
247 list_for_each_entry(chain, &node->val, list) { in callchain_node__count_rows()
[all …]
/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
Dtc_flower.sh882 tc chain add dev $h2 ingress chain 1 protocol ip flower \
885 tc chain add dev $h2 ingress chain 2 protocol ip flower \
889 tc chain add dev $h2 ingress chain 3 protocol ip flower \
895 tc chain add dev $h2 ingress chain 4
901 tc filter add dev $h2 ingress chain $i protocol ip \
910 $tcflags dst_ip 192.0.0.0/16 action goto chain 1
911 tc filter add dev $h2 ingress chain 1 protocol ip \
913 $tcflags action goto chain 2
914 tc filter add dev $h2 ingress chain 2 protocol ip \
916 $tcflags src_mac $h1mac action goto chain 3
[all …]
/tools/perf/arch/powerpc/util/
Dskip-callchain-idx.c242 int arch_skip_callchain_idx(struct thread *thread, struct ip_callchain *chain) in arch_skip_callchain_idx() argument
250 if (!chain || chain->nr < 3) in arch_skip_callchain_idx()
253 ip = chain->ips[1]; in arch_skip_callchain_idx()
/tools/perf/ui/gtk/
Dhists.c105 struct callchain_list *chain; in perf_gtk__add_callchain_flat() local
116 list_for_each_entry(chain, &node->parent_val, list) { in perf_gtk__add_callchain_flat()
124 callchain_list__sym_name(chain, buf, sizeof(buf), false); in perf_gtk__add_callchain_flat()
137 list_for_each_entry(chain, &node->val, list) { in perf_gtk__add_callchain_flat()
145 callchain_list__sym_name(chain, buf, sizeof(buf), false); in perf_gtk__add_callchain_flat()
167 struct callchain_list *chain; in perf_gtk__add_callchain_folded() local
177 list_for_each_entry(chain, &node->parent_val, list) { in perf_gtk__add_callchain_folded()
180 callchain_list__sym_name(chain, name, sizeof(name), false); in perf_gtk__add_callchain_folded()
193 list_for_each_entry(chain, &node->val, list) { in perf_gtk__add_callchain_folded()
196 callchain_list__sym_name(chain, name, sizeof(name), false); in perf_gtk__add_callchain_folded()
[all …]
/tools/memory-model/litmus-tests/
DISA2+pooncerelease+poacquirerelease+poacquireonce.litmus6 * This litmus test demonstrates that a release-acquire chain suffices
8 * that the release-acquire chain suffices is because in all but one
DS+poonceonces.litmus6 * Starting with a two-process release-acquire chain ordering P0()'s
DISA2+poonceonces.litmus6 * Given a release-acquire chain ordering the first process's store
DZ6.0+pooncerelease+poacquirerelease+fencembonceonce.litmus6 * This litmus test shows that a release-acquire chain, while sufficient
/tools/perf/util/
Dcallchain.c372 rb_insert_callchain(struct rb_root *root, struct callchain_node *chain, in rb_insert_callchain() argument
378 u64 chain_cumul = callchain_cumul_hits(chain); in rb_insert_callchain()
390 if (rnode->hit < chain->hit) in rb_insert_callchain()
408 rb_link_node(&chain->rb_node, parent, p); in rb_insert_callchain()
409 rb_insert_color(&chain->rb_node, root); in rb_insert_callchain()
1522 struct callchain_list *chain, *new; in callchain_node__make_parent_list() local
1526 list_for_each_entry_reverse(chain, &parent->val, list) { in callchain_node__make_parent_list()
1530 *new = *chain; in callchain_node__make_parent_list()
1538 list_for_each_entry_safe_reverse(chain, new, &head, list) in callchain_node__make_parent_list()
1539 list_move_tail(&chain->list, &node->parent_val); in callchain_node__make_parent_list()
[all …]
Dthread-stack.h87 void thread_stack__sample(struct thread *thread, int cpu, struct ip_callchain *chain,
90 struct ip_callchain *chain, size_t sz, u64 ip,
Dthread-stack.c521 struct ip_callchain *chain, in thread_stack__sample() argument
530 chain->nr = 0; in thread_stack__sample()
534 chain->ips[0] = context; in thread_stack__sample()
535 chain->ips[1] = ip; in thread_stack__sample()
538 chain->nr = 2; in thread_stack__sample()
550 chain->ips[i++] = context; in thread_stack__sample()
553 chain->ips[i] = ip; in thread_stack__sample()
556 chain->nr = i; in thread_stack__sample()
564 struct ip_callchain *chain, size_t sz, in thread_stack__sample_late() argument
573 chain->nr = 0; in thread_stack__sample_late()
[all …]
Dstream.c271 struct callchain_list *chain; in print_stream_callchain() local
290 list_for_each_entry(chain, &cnode->val, list) { in print_stream_callchain()
291 s = callchain_list__sym_name(chain, cbuf, sizeof(cbuf), false); in print_stream_callchain()
Dmachine.c2254 struct ip_callchain *chain = sample->callchain; in lbr_callchain_add_kernel_ip() local
2261 root_al, &cpumode, chain->ips[i], in lbr_callchain_add_kernel_ip()
2271 root_al, &cpumode, chain->ips[i], in lbr_callchain_add_kernel_ip()
2561 struct ip_callchain *chain = sample->callchain; in resolve_lbr_callchain_sample() local
2562 int chain_nr = min(max_stack, (int)chain->nr), i; in resolve_lbr_callchain_sample()
2569 if (chain->ips[i] == PERF_CONTEXT_USER) in resolve_lbr_callchain_sample()
2635 static int find_prev_cpumode(struct ip_callchain *chain, struct thread *thread, in find_prev_cpumode() argument
2644 u64 ip = chain->ips[ent]; in find_prev_cpumode()
2666 struct ip_callchain *chain = sample->callchain; in thread__resolve_callchain_sample() local
2673 if (chain) in thread__resolve_callchain_sample()
[all …]
/tools/perf/Documentation/
Ditrace.txt16 g synthesize a call chain (use with i or x)
17 G synthesize a call chain on existing event records
35 Also the call chain size (default 16, max. 1024) for instructions or

12