| /tools/perf/util/intel-pt-decoder/ |
| A D | intel-pt-insn-decoder.c | 50 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder() 56 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder() 73 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder() 78 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder() 106 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder() 110 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder() 114 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder() 122 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder() 139 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder() 147 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder() [all …]
|
| A D | intel-pt-insn-decoder.h | 41 enum intel_pt_insn_branch branch; member
|
| /tools/perf/arch/x86/tests/ |
| A D | gen-insn-x86-dat.awk | 14 branch = "" 44 printf "}, %d, %s, \"%s\", \"%s\",", len, rel, op, branch 47 branch = "" 62 branch = $i
|
| A D | insn-x86.c | 103 int op, branch, ret; in test_data_item() local 120 branch = get_branch(dat->expected_branch_str); in test_data_item() 133 if ((int)intel_pt_insn.branch != branch) { in test_data_item() 135 intel_pt_insn.branch, branch, dat->asm_rep); in test_data_item()
|
| /tools/perf/util/ |
| A D | intel-bts.c | 80 struct branch { struct 89 struct branch *branch; in intel_bts_dump() argument 109 branch = (struct branch *)buf; in intel_bts_dump() 273 struct branch *branch) in intel_bts_synth_branch_sample() argument 365 struct branch *branch) in intel_bts_get_branch_type() argument 369 if (!branch->from) { in intel_bts_get_branch_type() 370 if (branch->to) in intel_bts_get_branch_type() 389 branch->from); in intel_bts_get_branch_type() 412 struct branch *branch; in intel_bts_process_buffer() local 422 branch = buffer->data; in intel_bts_process_buffer() [all …]
|
| A D | annotate.c | 156 if (notes->branch && notes->branch->cycles_hist) { in symbol__annotate_zero_histograms() 268 notes->branch = zalloc(sizeof(*notes->branch)); in annotation__get_branch() 296 return branch; in symbol__find_branch_hist() 369 if (!branch) in symbol__account_cycles() 461 if (branch) { in annotated_branch__delete() 464 free(branch); in annotated_branch__delete() 514 if (!notes->branch || !notes->branch->cycles_hist) in annotation__compute_ipc() 714 branch = block_range__next(branch); in annotate__branch_printf() 1783 if (branch && branch->hit_cycles) in ipc_coverage_string() 1784 ipc = branch->hit_insn / ((double)branch->hit_cycles); in ipc_coverage_string() [all …]
|
| A D | block-range.c | 314 struct annotated_branch *branch; in block_range__coverage() local 327 branch = symbol__annotation(sym)->branch; in block_range__coverage() 328 if (!branch) in block_range__coverage() 331 return (double)br->coverage / branch->max_coverage; in block_range__coverage()
|
| A D | parse-events.l | 259 …l1i|L1-instruction|LLC|L2|dTLB|d-tlb|Data-TLB|iTLB|i-tlb|Instruction-TLB|branch|branches|bpu|btb|b… 345 branch-instructions|branches { return hw_term(yyscanner, PERF_COUNT_HW_BRANCH_INSTRUCTIONS); } 346 branch-misses { return hw_term(yyscanner, PERF_COUNT_HW_BRANCH_MISSES); } 400 branch-instructions|branches { return sym(yyscanner, PERF_COUNT_HW_BRANCH_INSTRUCTIONS); } 401 branch-misses { return sym(yyscanner, PERF_COUNT_HW_BRANCH_MISSES); }
|
| A D | annotate.h | 347 struct annotated_branch *branch; member 361 if (notes->branch && annotate_opts.show_minmax_cycle) in annotation__cycles_width() 364 return notes->branch ? ANNOTATION__IPC_WIDTH + ANNOTATION__CYCLES_WIDTH : 0; in annotation__cycles_width()
|
| A D | block-info.c | 145 if (!notes || !notes->branch || !notes->branch->cycles_hist) in block_info__process_sym() 147 ch = notes->branch->cycles_hist; in block_info__process_sym() 159 notes->branch->br_cntr, in block_info__process_sym()
|
| A D | callchain.h | 150 bool branch; member 205 bool branch, struct branch_flags *flags,
|
| /tools/bootconfig/scripts/ |
| A D | bconf2ftrace.sh | 184 branch=$1.$2.$3 198 xbc_get_val ${branch}.probes | while read line; do 203 run_cmd "echo '`compose_synth $3 ${branch}.fields`' >> $TRACEFS/synthetic_events" 207 set_value_of ${branch}.filter ${eventdir}/filter 208 set_array_of ${branch}.actions ${eventdir}/trigger 210 setup_histograms ${branch}.hist ${eventdir}/trigger 212 if xbc_has_key ${branch}.enable; then
|
| /tools/perf/tests/shell/ |
| A D | test_brstack.sh | 13 if ! perf record -o- --no-buildid --branch-filter any,save_type,u -- true > /dev/null 2>&1 ; then 40 …perf record -o "$TMPDIR/perf.data" --branch-filter any,save_type,u -- ${TESTPROG} > "$TMPDIR/recor… 75 …perf record -o "$TMPDIR/perf.data" --branch-filter "$test_filter_filter,save_type,u" -- ${TESTPROG…
|
| A D | stat+std_output.sh | 14 …e-faults stalled-cycles-frontend stalled-cycles-backend cycles instructions branches branch-misses)
|
| /tools/perf/tests/shell/attr/ |
| A D | README | 36 perf record -b kill (test-record-branch-any) 37 perf record -j any kill (test-record-branch-filter-any) 38 perf record -j any_call kill (test-record-branch-filter-any_call) 39 perf record -j any_ret kill (test-record-branch-filter-any_ret) 40 perf record -j hv kill (test-record-branch-filter-hv) 41 perf record -j ind_call kill (test-record-branch-filter-ind_call) 42 perf record -j k kill (test-record-branch-filter-k) 43 perf record -j u kill (test-record-branch-filter-u)
|
| /tools/testing/selftests/rcutorture/bin/ |
| A D | kvm-check-branches.sh | 67 echo ' --- commit ' $i from branch $gitbr 78 echo kvm.sh return code $ret for commit $i from branch $gitbr
|
| /tools/perf/Documentation/ |
| A D | perf-top.txt | 190 --call-graph [mode,type,min[,limit],order[,key][,branch]]:: 241 --branch-any:: 242 Enable taken branch stack sampling. Any type of taken branch may be sampled. 243 This is a shortcut for --branch-filter any. See --branch-filter for more infos. 246 --branch-filter:: 247 Enable taken branch stack sampling. Each sample captures a series of consecutive 253 The option requires at least one branch type among any, any_call, any_ret, ind_call, cond. 255 event are applied to the branch filter. Both kernel (k) and hypervisor (hv) privilege 256 levels are subject to permissions. When sampling on multiple events, branch stack sampling 257 is enabled for all the sampling events. The sampled branch type is the same for all events. [all …]
|
| A D | perf-report.txt | 159 - mispredict: "N" for predicted branch, "Y" for mispredicted branch 160 - in_tx: branch in TSX transaction 165 and symbol_to, see '--branch-stack'. 176 (incompatible with --branch-stack): 298 branch can be: 299 - branch: include last branch information in callgraph when available. 399 --branch-stack:: 403 perf record --branch-filter xxx where xxx is a branch filter option. 405 branch stacks and it will automatically switch to the branch view mode, 406 unless --no-branch-stack is used. [all …]
|
| A D | itrace.txt | 22 l synthesize last branch entries (use with i or x) 23 L synthesize last branch entries on existing event records 45 Also the number of last branch entries (default 64, max. 1024) for
|
| A D | perf-script.txt | 203 Trace decoding. The flags are "bcrosyiABExghDt" which stand for branch, 213 cases e.g. "jcc (xD)" for a condition branch within a transaction 243 FROM : branch source instruction 244 TO : branch target instruction 245 EVENT : M=branch target or direction was mispredicted 246 P=branch target or direction was predicted 247 N=branch not-taken 249 INTX : X=branch inside a transactional region 250 -=branch not in transaction region or not supported 254 TYPE : branch type: COND/UNCOND/IND/CALL/IND_CALL/RET etc. [all …]
|
| A D | perf-record.txt | 316 doesn't work with branch stack sampling at the same time. 428 --branch-any:: 429 Enable taken branch stack sampling. Any type of taken branch may be sampled. 430 This is a shortcut for --branch-filter any. See --branch-filter for more infos. 433 --branch-filter:: 443 - ind_call: any indirect branch 446 - u: only when the branch target is at the user level 447 - k: only when the branch target is in the kernel 455 - no_cycles: don't save branch cycles 456 - hw_index: save branch hardware index [all …]
|
| A D | perf-intel-pt.txt | 99 a branch sample is synthesized for every single branch. To get an idea what 325 example, to turn off branch tracing: 327 -e intel_pt/branch=0/ 495 *branch*:: 497 disable branch tracing use 'branch=0'. 499 The default config selects 'branch' if it is available. 707 perf record --aux-sample -e intel_pt//u -e branch-misses:u 980 l synthesize last branch entries (use with i or x) 1170 - non-branch instructions 1779 iflag: t IFLAG: 1->0 via branch [all …]
|
| /tools/testing/ktest/examples/include/ |
| A D | patchcheck.conf | 32 PATCH_CHECKOUT := test/branch
|
| /tools/virtio/ |
| A D | Makefile | 18 …n-return=thunk) $(call cc-option,-fcf-protection=none) $(call cc-option,-mindirect-branch-register)
|
| /tools/perf/ |
| A D | builtin-annotate.c | 104 struct annotated_branch *branch; in process_basic_block() local 116 branch = annotation__get_branch(notes); in process_basic_block() 131 if (branch) in process_basic_block() 132 branch->max_coverage = max(branch->max_coverage, entry->coverage); in process_basic_block()
|