Home
last modified time | relevance | path

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

12

/tools/perf/util/
Dparse-branch-options.c52 const struct branch_mode *br; in parse_branch_str() local
69 for (br = branch_modes; br->name; br++) { in parse_branch_str()
70 if (!strcasecmp(s, br->name)) in parse_branch_str()
73 if (!br->name) { in parse_branch_str()
80 *mode |= br->mode; in parse_branch_str()
Dblock-range.h38 static inline struct block_range *block_range__next(struct block_range *br) in block_range__next() argument
40 struct rb_node *n = rb_next(&br->node); in block_range__next()
74 extern double block_range__coverage(struct block_range *br);
Dblock-range.c311 double block_range__coverage(struct block_range *br) in block_range__coverage() argument
315 if (!br) { in block_range__coverage()
322 sym = br->sym; in block_range__coverage()
326 return (double)br->coverage / symbol__annotation(sym)->max_coverage; in block_range__coverage()
Dannotate.c1398 static const char *annotate__address_color(struct block_range *br) in annotate__address_color() argument
1400 double cov = block_range__coverage(br); in annotate__address_color()
1415 static const char *annotate__asm_color(struct block_range *br) in annotate__asm_color() argument
1417 double cov = block_range__coverage(br); in annotate__asm_color()
1428 static void annotate__branch_printf(struct block_range *br, u64 addr) in annotate__branch_printf() argument
1432 if (!br) in annotate__branch_printf()
1436 if (br->is_target && br->start == addr) { in annotate__branch_printf()
1437 struct block_range *branch = br; in annotate__branch_printf()
1446 p = 100 *(double)br->entry / branch->coverage; in annotate__branch_printf()
1462 if (br->is_branch && br->end == addr) { in annotate__branch_printf()
[all …]
/tools/testing/selftests/drivers/net/dsa/
Dbridge_locked_port.sh192 bridge fdb get `mac_get $h1` br br0 vlan 1 &> /dev/null
200 bridge fdb get `mac_get $h1` br br0 vlan 1 | grep "dev $swp1" | grep -q "locked"
208 bridge fdb get `mac_get $h1` br br0 vlan 1 | grep "dev $swp1" | grep -q "locked"
229 bridge fdb get $mac br br0 vlan 1 | grep "dev $swp1" | grep -q "locked"
233 bridge fdb get $mac br br0 vlan 1 | grep -q "dev $swp2"
236 bridge fdb get $mac br br0 vlan 1 | grep -q "locked"
240 bridge fdb get $mac br br0 vlan 1 | grep -q "dev $swp1"
289 bridge fdb get $locked_mac1 br br0 vlan 1 | grep "dev $swp1" | \
294 bridge fdb get $locked_mac2 br br0 vlan 1 | grep "dev $swp2" | \
302 bridge fdb get $unlocked_mac1 br br0 vlan 1 &> /dev/null
[all …]
Dbridge_mdb.sh754 ip link add name br-test${i} up type bridge vlan_filtering 1 \
757 ip link add name br-test${i}-du${j} up \
758 master br-test${i} type dummy
777 num_entries=$(bridge mdb show dev br-test${i} | \
786 ip link del dev br-test${i}
788 ip link del dev br-test${i}-du${j}
Dlib.sh1311 bridge -j fdb show br $bridge brport $br_port1 \
1328 bridge -j fdb show br $bridge brport $br_port1 \
1337 bridge -j fdb show br $bridge brport $br_port1 \
/tools/testing/selftests/net/forwarding/
Dbridge_locked_port.sh192 bridge fdb get `mac_get $h1` br br0 vlan 1 &> /dev/null
200 bridge fdb get `mac_get $h1` br br0 vlan 1 | grep "dev $swp1" | grep -q "locked"
208 bridge fdb get `mac_get $h1` br br0 vlan 1 | grep "dev $swp1" | grep -q "locked"
229 bridge fdb get $mac br br0 vlan 1 | grep "dev $swp1" | grep -q "locked"
233 bridge fdb get $mac br br0 vlan 1 | grep -q "dev $swp2"
236 bridge fdb get $mac br br0 vlan 1 | grep -q "locked"
240 bridge fdb get $mac br br0 vlan 1 | grep -q "dev $swp1"
289 bridge fdb get $locked_mac1 br br0 vlan 1 | grep "dev $swp1" | \
294 bridge fdb get $locked_mac2 br br0 vlan 1 | grep "dev $swp2" | \
302 bridge fdb get $unlocked_mac1 br br0 vlan 1 &> /dev/null
[all …]
Dsch_red.sh94 ip link add dev br up type bridge
95 ip link set dev $swp1 up master br
96 ip link set dev $swp2 up master br
97 ip link set dev $swp3 up master br
120 ip link del dev br
Dbridge_sticky_fdb.sh55 bridge -j fdb show br br0 brport $swp1\
Dsch_tbf_core.sh123 ip link set dev $intf.$vlan master br$vlan
Dbridge_mdb.sh754 ip link add name br-test${i} up type bridge vlan_filtering 1 \
757 ip link add name br-test${i}-du${j} up \
758 master br-test${i} type dummy
777 num_entries=$(bridge mdb show dev br-test${i} | \
786 ip link del dev br-test${i}
788 ip link del dev br-test${i}-du${j}
Dlib.sh1311 bridge -j fdb show br $bridge brport $br_port1 \
1328 bridge -j fdb show br $bridge brport $br_port1 \
1337 bridge -j fdb show br $bridge brport $br_port1 \
/tools/testing/selftests/arm64/bti/
Dtrampoline.S11 br x0
17 br x16
/tools/testing/selftests/kvm/x86_64/
Dpmu_event_filter_test.c270 uint64_t br = pmc_results.branches_retired; \
273 if (br && br != NUM_BRANCHES) \
275 __func__, br, NUM_BRANCHES); \
276 TEST_ASSERT(br, "%s: Branch instructions retired = %lu (expected > 0)", \
277 __func__, br); \
284 uint64_t br = pmc_results.branches_retired; \
287 TEST_ASSERT(!br, "%s: Branch instructions retired = %lu (expected 0)", \
288 __func__, br); \
/tools/perf/tests/shell/coresight/asm_pure_loop/
Dasm_pure_loop.S16 br x2
/tools/testing/selftests/drivers/net/bonding/
Dbond_topo_2d1c.sh84 local link_num=$(ip -n ${s_ns} -br link show | grep -c "^eth")
106 local link_num=$(ip -n ${s_ns} -br link show | grep -c "^eth")
Dnet_forwarding_lib.sh1311 bridge -j fdb show br $bridge brport $br_port1 \
1328 bridge -j fdb show br $bridge brport $br_port1 \
1337 bridge -j fdb show br $bridge brport $br_port1 \
/tools/testing/selftests/arm64/fp/
Dassembler.h48 br x2
/tools/perf/
Dbuiltin-script.c897 mispred_str(struct branch_entry *br) in mispred_str() argument
899 if (!(br->flags.mispred || br->flags.predicted)) in mispred_str()
902 return br->flags.predicted ? 'P' : 'M'; in mispred_str()
905 static int print_bstack_flags(FILE *fp, struct branch_entry *br) in print_bstack_flags() argument
908 mispred_str(br), in print_bstack_flags()
909 br->flags.in_tx ? 'X' : '-', in print_bstack_flags()
910 br->flags.abort ? 'A' : '-', in print_bstack_flags()
911 br->flags.cycles, in print_bstack_flags()
912 get_branch_type(br), in print_bstack_flags()
913 br->flags.spec ? branch_spec_desc(br->flags.spec) : "-"); in print_bstack_flags()
[all …]
/tools/testing/selftests/net/
Dtest_vxlan_vnifiltering.sh211 ip -netns hv-$hvid link add br$brid type bridge vlan_filtering 1 vlan_default_pvid 0 \
213 ip -netns hv-$hvid link set br$brid up
225 ip -netns hv-$hvid link set $hvvethif master br$brid
272 ip -netns hv-$hvid link set $vxlandev master br$brid
Dgre_gso.sh84 addr=$(ip -6 -br $ns addr show dev ${dev} | \
/tools/perf/util/scripting-engines/
Dtrace-event-python.c510 struct branch_stack *br = sample->branch_stack; in python_process_brstack() local
519 if (!(br && br->nr)) in python_process_brstack()
522 for (i = 0; i < br->nr; i++) { in python_process_brstack()
598 struct branch_stack *br = sample->branch_stack; in python_process_brstacksym() local
608 if (!(br && br->nr)) in python_process_brstacksym()
611 for (i = 0; i < br->nr; i++) { in python_process_brstacksym()
/tools/testing/selftests/drivers/net/team/
Dnet_forwarding_lib.sh1311 bridge -j fdb show br $bridge brport $br_port1 \
1328 bridge -j fdb show br $bridge brport $br_port1 \
1337 bridge -j fdb show br $bridge brport $br_port1 \
/tools/testing/selftests/drivers/net/mlxsw/
Drtnetlink.sh497 ip link add name br-test type bridge
498 ip link set dev br0.10 master br-test &> /dev/null
500 ip link del dev br-test

12