Home
last modified time | relevance | path

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

/tools/perf/util/
Dparse-branch-options.c48 const struct branch_mode *br; in parse_branch_str() local
65 for (br = branch_modes; br->name; br++) { in parse_branch_str()
66 if (!strcasecmp(s, br->name)) in parse_branch_str()
69 if (!br->name) { in parse_branch_str()
76 *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.c315 double block_range__coverage(struct block_range *br) in block_range__coverage() argument
319 if (!br) { in block_range__coverage()
326 sym = br->sym; in block_range__coverage()
330 return (double)br->coverage / symbol__annotation(sym)->max_coverage; in block_range__coverage()
Dannotate.c1271 static const char *annotate__address_color(struct block_range *br) in annotate__address_color() argument
1273 double cov = block_range__coverage(br); in annotate__address_color()
1288 static const char *annotate__asm_color(struct block_range *br) in annotate__asm_color() argument
1290 double cov = block_range__coverage(br); in annotate__asm_color()
1301 static void annotate__branch_printf(struct block_range *br, u64 addr) in annotate__branch_printf() argument
1305 if (!br) in annotate__branch_printf()
1309 if (br->is_target && br->start == addr) { in annotate__branch_printf()
1310 struct block_range *branch = br; in annotate__branch_printf()
1319 p = 100 *(double)br->entry / branch->coverage; in annotate__branch_printf()
1335 if (br->is_branch && br->end == addr) { in annotate__branch_printf()
[all …]
Dintel-pt.c1786 } br; in intel_pt_synth_pebs_sample() local
1791 intel_pt_add_lbrs(&br.br_stack, items); in intel_pt_synth_pebs_sample()
1792 sample.branch_stack = &br.br_stack; in intel_pt_synth_pebs_sample()
1797 br.br_stack.nr = 0; in intel_pt_synth_pebs_sample()
1798 sample.branch_stack = &br.br_stack; in intel_pt_synth_pebs_sample()
/tools/perf/
Dbuiltin-script.c725 mispred_str(struct branch_entry *br) in mispred_str() argument
727 if (!(br->flags.mispred || br->flags.predicted)) in mispred_str()
730 return br->flags.predicted ? 'P' : 'M'; in mispred_str()
737 struct branch_stack *br = sample->branch_stack; in perf_sample__fprintf_brstack() local
742 if (!(br && br->nr)) in perf_sample__fprintf_brstack()
745 for (i = 0; i < br->nr; i++) { in perf_sample__fprintf_brstack()
746 from = br->entries[i].from; in perf_sample__fprintf_brstack()
747 to = br->entries[i].to; in perf_sample__fprintf_brstack()
771 mispred_str( br->entries + i), in perf_sample__fprintf_brstack()
772 br->entries[i].flags.in_tx? 'X' : '-', in perf_sample__fprintf_brstack()
[all …]
/tools/perf/util/scripting-engines/
Dtrace-event-python.c466 struct branch_stack *br = sample->branch_stack; in python_process_brstack() local
474 if (!(br && br->nr)) in python_process_brstack()
477 for (i = 0; i < br->nr; i++) { in python_process_brstack()
487 PyLong_FromUnsignedLongLong(br->entries[i].from)); in python_process_brstack()
489 PyLong_FromUnsignedLongLong(br->entries[i].to)); in python_process_brstack()
491 PyBool_FromLong(br->entries[i].flags.mispred)); in python_process_brstack()
493 PyBool_FromLong(br->entries[i].flags.predicted)); in python_process_brstack()
495 PyBool_FromLong(br->entries[i].flags.in_tx)); in python_process_brstack()
497 PyBool_FromLong(br->entries[i].flags.abort)); in python_process_brstack()
499 PyLong_FromUnsignedLongLong(br->entries[i].flags.cycles)); in python_process_brstack()
[all …]
/tools/testing/selftests/net/forwarding/
Dbridge_sticky_fdb.sh55 bridge -j fdb show br br0 brport $swp1\
Dlib.sh888 bridge -j fdb show br $bridge brport $br_port1 \
913 bridge -j fdb show br $bridge brport $br_port1 \
930 bridge -j fdb show br $bridge brport $br_port1 \
939 bridge -j fdb show br $bridge brport $br_port1 \
/tools/testing/selftests/drivers/net/mlxsw/
Drtnetlink.sh557 ip link add name br-test type bridge
558 ip link set dev br0.10 master br-test &> /dev/null
560 ip link del dev br-test
/tools/testing/selftests/net/
Dfib-onlink-tests.sh150 addr=$(${pfx} ip -6 -br addr show dev ${dev} | \
Dicmp_redirect.sh117 addr=$(ip -netns $ns -6 -br addr show dev ${dev} | \
Drtnetlink.sh403 ip -br link show type vrf | grep -q "$vrfname"
1114 $BRIDGE fdb get $test_mac br "$brdev" 2>/dev/null | grep -q "dev $vxlandev master $brdev"
Dfib_nexthops.sh98 addr=$(ip $ns -6 -br addr show dev ${dev} | \
Dfib_tests.sh80 addr=$($IP -6 -br addr show dev ${dev} | \
Dfcnal-test.sh308 addr=$(ip -netns ${ns} -6 -br addr show dev ${dev} | \
/tools/perf/Documentation/
Dperf-script.txt189 "call" for "bc", "return" for "br", "jcc" for "bo", "jmp" for "b",