/tools/testing/selftests/net/forwarding/ |
D | fib_offload_lib.sh | 67 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 8 metric 1024 109 ip -n $ns route add 192.0.2.0/24 dev dummy1 tos 4 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 …]
|
/tools/testing/selftests/drivers/net/mlxsw/ |
D | fib_offload.sh | 79 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/pmu-events/ |
D | jevents.py | 8 import metric 126 def add(self, s: str, metric: bool) -> None: 132 if metric: 329 self.metric_expr = metric.ParsePerfJson(jd['MetricExpr']).Simplify() 380 def build_c_string(self, metric: bool) -> str: 382 for attr in _json_metric_attributes if metric else _json_event_attributes: 384 if metric and x and attr == 'metric_expr': 388 if metric and x and attr == 'metric_threshold': 396 def to_c_string(self, metric: bool) -> str: 399 s = self.build_c_string(metric) [all …]
|
D | metric_test.py | 4 from metric import Constant 5 from metric import Event 6 from metric import Expression 7 from metric import ParsePerfJson 8 from metric import RewriteMetricsInTermsOfOthers
|
D | Build | 9 METRIC_PY = pmu-events/metric.py
|
D | metric.py | 494 for metric in metric_list: 495 metric.AddToMetricGroup(self) 499 for metric in self.metric_list: 500 metric.AddToMetricGroup(group)
|
/tools/perf/util/ |
D | metricgroup.c | 120 struct metric { struct 197 static void metric__free(struct metric *m) in metric__free() 209 static struct metric *metric__new(const struct pmu_metric *pm, in metric__new() 216 struct metric *m; in metric__new() 374 static bool match_pm_metric(const struct pmu_metric *pm, const char *pmu, const char *metric) in match_pm_metric() argument 381 return match_metric(pm->metric_group, metric) || in match_pm_metric() 382 match_metric(pm->metric_name, metric); in match_pm_metric() 799 struct metric *root_metric; 805 const char *metric, 816 struct metric *root_metric, [all …]
|
D | metricgroup.h | 87 bool metricgroup__has_metric(const char *pmu, const char *metric);
|
/tools/perf/Documentation/ |
D | topdown.txt | 40 metric register that reports slots ratios for the different bottleneck 53 metric event, and allow user programs to read the performance counters. 58 The metric events are mapped to the pseudo event event=0x00, umask=0x8X. 60 { .config = 0x8000, .type = PERF_TYPE_RAW } for Retiring metric event 124 #define RDPMC_METRIC (1 << 29) /* return metric counters */ 158 The binary ratios in the metric value can be converted to float ratios: 162 /* L1 Topdown metric events */ 169 * L2 Topdown metric events. 179 The ratios in the metric accumulate for the time when the counter 210 Later the individual ratios of L1 metric events for the measurement period can [all …]
|
D | perf-stat.txt | 100 allows multiple perf-stat sessions that are counting the same metric (cycles, 278 If the metric exists, it is calculated by the counts generated in this interval and the metric is p… 293 --metric-only:: 345 --metric-no-group:: 346 By default, events to compute a metric are placed in weak groups. The 348 --metric-no-group option places events outside of groups and may 354 --metric-no-merge:: 355 By default metric events in different weak groups can be shared if one 364 --metric-no-threshold:: 366 compute whether a metric has exceeded its threshold expression. This [all …]
|
/tools/perf/tests/shell/lib/ |
D | perf_metric_validation.py | 360 def _run_perf(self, metric, workload: str): argument 393 for metric in metrics: 394 data = self._run_perf(metric, wl) 401 for metric in collectlist: 402 data = self._run_perf(metric, workload)
|
/tools/testing/selftests/net/ |
D | vrf-xfrm-tests.sh | 98 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
|
D | traceroute.sh | 82 ip netns exec ${ns} ip ro add unreachable default metric 8192 83 ip netns exec ${ns} ip -6 ro add unreachable default metric 8192
|
D | srv6_end_dt46_l3vpn_test.sh | 371 ip -netns ${rtsrc_name} -6 route add unreachable default metric 4278198272 \ 374 ip -netns ${rtsrc_name} -4 route add unreachable default metric 4278198272 \
|
D | fib-onlink-tests.sh | 185 ip ro add table ${VRF_TABLE} unreachable default metric 8192 186 ip -6 ro add table ${VRF_TABLE} unreachable default metric 8192
|
D | l2tp.sh | 93 ip -netns ${ns} ro add unreachable default metric 8192 94 ip -netns ${ns} -6 ro add unreachable default metric 8192
|
D | srv6_hencap_red_l3vpn_test.sh | 443 add unreachable default metric 4278198272 \ 447 add unreachable default metric 4278198272 \
|
D | srv6_end_next_csid_l3vpn_test.sh | 776 add unreachable default metric 4278198272 \ 779 add unreachable default metric 4278198272 \
|
D | srv6_end_x_next_csid_l3vpn_test.sh | 836 add unreachable default metric 4278198272 \ 839 add unreachable default metric 4278198272 \
|
D | icmp_redirect.sh | 156 ip -netns ${ns} route add vrf ${VRF} unreachable default metric 8192 157 ip -netns ${ns} -6 route add vrf ${VRF} unreachable default metric 8192
|
D | vrf_route_leaking.sh | 199 ip -netns "${ns}" route add vrf "${vrf}" unreachable default metric 8192 200 ip -netns "${ns}" -6 route add vrf "${vrf}" unreachable default metric 8192
|
/tools/perf/ |
D | builtin-kvm.c | 133 #define EV_METRIC_CMP(metric) \ argument 134 static int64_t ev_cmp_##metric(struct perf_hpp_fmt *fmt __maybe_unused, \ 146 return cmp_event_##metric(event_left, event_right, \ 156 #define EV_METRIC_ENTRY(metric) \ argument 157 static int ev_entry_##metric(struct perf_hpp_fmt *fmt, \ 168 get_event_##metric(event, perf_kvm->trace_vcpu)); \ 240 #define EV_METRIC_PERCENT(metric) \ argument 241 static int ev_percent_##metric(struct hist_entry *he) \ 249 return percent(get_event_##metric(event, perf_kvm->trace_vcpu), \ 250 perf_kvm->total_##metric); \
|
/tools/testing/selftests/bpf/ |
D | test_lwt_ip_encap.sh | 152 ip -netns ${NS1} route add table 1001 unreachable default metric 8192 153 ip -netns ${NS1} -6 route add table 1001 unreachable default metric 8192 159 ip -netns ${NS2} route add table 1001 unreachable default metric 8192 160 ip -netns ${NS2} -6 route add table 1001 unreachable default metric 8192
|
/tools/testing/selftests/net/mptcp/ |
D | simult_flows.sh | 87 ip -net "$ns1" route add default via 10.0.2.2 metric 101 88 ip -net "$ns1" route add default via dead:beef:2::2 metric 101
|
/tools/perf/tests/ |
D | Build | 61 perf-y += parse-metric.o
|