Home
last modified time | relevance | path

Searched refs:metric (Results 1 – 22 of 22) sorted by relevance

/tools/testing/selftests/net/forwarding/
Dfib_offload_lib.sh67 ip -n $ns route add 192.0.2.0/24 dev dummy1 tos 0 metric 1024
71 ip -n $ns route append 192.0.2.0/24 dev dummy2 tos 0 metric 1024
75 ip -n $ns route prepend 192.0.2.0/24 dev dummy3 tos 0 metric 1024
98 ip -n $ns route add 192.0.2.0/24 dev dummy1 tos 0 metric 1024
102 ip -n $ns route add 192.0.2.0/24 dev dummy1 tos 2 metric 1024
109 ip -n $ns route add 192.0.2.0/24 dev dummy1 tos 1 metric 1024
127 ip -n $ns route add 192.0.2.0/24 dev dummy1 metric 1024
131 ip -n $ns route add 192.0.2.0/24 dev dummy1 metric 1022
138 ip -n $ns route add 192.0.2.0/24 dev dummy1 metric 1023
159 ip -n $ns route add 192.0.2.0/24 dev dummy1 metric 1024
[all …]
Dlib.sh466 ip -4 route add table $tb_id unreachable default metric 4278198272
467 ip -6 route add table $tb_id unreachable default metric 4278198272
478 ip -6 route del table $tb_id unreachable default metric 4278198272
479 ip -4 route del table $tb_id unreachable default metric 4278198272
/tools/testing/selftests/drivers/net/mlxsw/
Dfib_offload.sh79 ip -6 route add 2001:db8:3::/64 dev $spine_p1 metric 100
85 ip -6 route append 2001:db8:3::/64 dev $spine_p1 metric 200
93 ip -6 route append 2001:db8:3::/64 dev $spine_p1 metric 10
117 ip -6 route add 2001:db8:3::/64 metric 100 \
124 ip -6 route append 2001:db8:3::/64 metric 100 \
132 ip -6 route add 2001:db8:3::/64 metric 100 \
140 ip -6 route append 2001:db8:3::/64 metric 200 \
149 ip -6 route append 2001:db8:3::/64 metric 10 \
174 ip -6 route add 2001:db8:3::/64 metric 100 dev $spine_p1
177 ip -6 route replace 2001:db8:3::/64 metric 100 dev $spine_p2
[all …]
/tools/perf/util/
Dmetricgroup.c119 struct metric { struct
303 struct metric *m; in metricgroup__setup_events()
690 struct metric **mp, in __add_metric()
695 struct metric *m; in __add_metric()
783 struct metric *old = list_entry(pos, struct metric, nd); in __add_metric()
806 static struct pmu_event *find_metric(const char *metric, struct pmu_events_map *map) in find_metric() argument
812 if (match_metric(pe->metric_name, metric)) in find_metric()
819 static int recursion_check(struct metric *m, const char *id, struct expr_id **parent, in recursion_check()
866 struct metric **mp,
870 static int __resolve_metric(struct metric *m, in __resolve_metric()
[all …]
Dmetricgroup.h57 bool metricgroup__has_metric(const char *metric);
/tools/perf/Documentation/
Dtopdown.txt51 metric register that reports slots ratios for the different bottleneck
64 metric event, and allow user programs to read the performance counters.
69 The metric events are mapped to the pseudo event event=0x00, umask=0x8X.
71 { .config = 0x8000, .type = PERF_TYPE_RAW } for Retiring metric event
121 #define RDPMC_METRIC (1 << 29) /* return metric counters */
151 The binary ratios in the metric value can be converted to float ratios:
162 The ratios in the metric accumulate for the time when the counter
237 Four pseudo TopDown metric events are exposed for the end-users,
241 - All the TopDown metric events must be in a group with the SLOTS event.
243 - The PERF_FORMAT_GROUP flag must be applied for each TopDown metric
[all …]
Dperf-stat.txt241 If the metric exists, it is calculated by the counts generated in this interval and the metric is p…
256 --metric-only::
300 --metric-no-group::
301 By default, events to compute a metric are placed in weak groups. The
303 --metric-no-group option places events outside of groups and may
309 --metric-no-merge::
310 By default metric events in different weak groups can be shared if one
371 This enables --metric-only, unless overridden with --no-metric-only.
416 Users who wants to get the actual value can apply --no-metric-only.
490 - optional metric value
[all …]
Dperf-script.txt120 brstackoff, callindent, insn, insnlen, synth, phys_addr, metric, misc, srccode, ipc.
229 With the metric option perf script can compute metrics for
234 that the metric computed is averaged over the whole sampling
Dperf-list.txt12 [hw|sw|cache|tracepoint|pmu|sdt|metric|metricgroup|event_glob]
292 . 'metric' to list metrics
/tools/testing/selftests/net/
Dtraceroute.sh82 ip netns exec ${ns} ip ro add unreachable default metric 8192
83 ip netns exec ${ns} ip -6 ro add unreachable default metric 8192
Dvrf-xfrm-tests.sh98 ip ${ns} route add vrf ${vrf} unreachable default metric 8192
99 ip ${ns} -6 route add vrf ${vrf} unreachable default metric 8192
129 ip -netns ${ns} ro add unreachable default metric 8192
130 ip -netns ${ns} -6 ro add unreachable default metric 8192
Dfib-onlink-tests.sh185 ip ro add table ${VRF_TABLE} unreachable default metric 8192
186 ip -6 ro add table ${VRF_TABLE} unreachable default metric 8192
Dl2tp.sh93 ip -netns ${ns} ro add unreachable default metric 8192
94 ip -netns ${ns} -6 ro add unreachable default metric 8192
Dicmp_redirect.sh152 ip -netns ${ns} route add vrf ${VRF} unreachable default metric 8192
153 ip -netns ${ns} -6 route add vrf ${VRF} unreachable default metric 8192
Dvrf_route_leaking.sh199 ip -netns "${ns}" route add vrf "${vrf}" unreachable default metric 8192
200 ip -netns "${ns}" -6 route add vrf "${vrf}" unreachable default metric 8192
Dfib_tests.sh628 $IP -4 route add vrf red unreachable default metric 4278198272
629 $IP -6 route add vrf red unreachable default metric 4278198272
1003 ip addr help 2>&1 | grep -q metric
Dfcnal-test.sh362 ip -netns ${ns} route add vrf ${vrf} unreachable default metric 8192
363 ip -netns ${ns} -6 route add vrf ${vrf} unreachable default metric 8192
396 ip -netns ${ns} ro add unreachable default metric 8192
397 ip -netns ${ns} -6 ro add unreachable default metric 8192
2103 setup_cmd ip -6 route add unreachable ${NSB_LO_IP6} metric 10
2104 setup_cmd ip -6 route add unreachable ${NSB_IP6} metric 10
/tools/testing/selftests/net/mptcp/
Dsimult_flows.sh81 ip -net "$ns1" route add default via 10.0.2.2 metric 101
82 ip -net "$ns1" route add default via dead:beef:2::2 metric 101
Dmptcp_join.sh52 ip -net "$ns2" route add default via 10.0.$i.1 dev ns2eth$i metric 10$i
/tools/testing/selftests/bpf/
Dtest_lwt_ip_encap.sh151 ip -netns ${NS1} route add table 1001 unreachable default metric 8192
152 ip -netns ${NS1} -6 route add table 1001 unreachable default metric 8192
158 ip -netns ${NS2} route add table 1001 unreachable default metric 8192
159 ip -netns ${NS2} -6 route add table 1001 unreachable default metric 8192
/tools/perf/tests/
DBuild62 perf-y += parse-metric.o
/tools/testing/selftests/wireguard/
Dnetns.sh493 ip1 route add 10.0.0.0/24 dev veth1 src 10.0.0.1 metric 2
497 ip1 route add 10.0.0.0/24 dev veth3 src 10.0.0.3 metric 1