Home
last modified time | relevance | path

Searched refs:branch (Results 1 – 25 of 32) sorted by relevance

12

/tools/perf/util/intel-pt-decoder/
Dintel-pt-insn-decoder.c31 enum intel_pt_insn_branch branch = INTEL_PT_BR_NO_BRANCH; in intel_pt_insn_decoder() local
38 intel_pt_insn->branch = INTEL_PT_BR_NO_BRANCH; in intel_pt_insn_decoder()
49 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder()
54 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder()
58 branch = INTEL_PT_BR_CONDITIONAL; in intel_pt_insn_decoder()
66 branch = INTEL_PT_BR_CONDITIONAL; in intel_pt_insn_decoder()
73 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder()
77 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder()
81 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder()
85 branch = INTEL_PT_BR_UNCONDITIONAL; in intel_pt_insn_decoder()
[all …]
Dintel-pt-insn-decoder.h38 enum intel_pt_insn_branch branch; member
Dintel-pt-decoder.c1013 if (intel_pt_insn->branch == INTEL_PT_BR_NO_BRANCH) { in intel_pt_walk_insn()
1024 if (intel_pt_insn->branch != INTEL_PT_BR_UNCONDITIONAL || in intel_pt_walk_insn()
1035 if (intel_pt_insn->branch == INTEL_PT_BR_UNCONDITIONAL) { in intel_pt_walk_insn()
1151 intel_pt_insn->branch == INTEL_PT_BR_INDIRECT && in intel_pt_fup_with_nlip()
1180 if (intel_pt_insn.branch == INTEL_PT_BR_INDIRECT) { in intel_pt_walk_fup()
1187 if (intel_pt_insn.branch == INTEL_PT_BR_CONDITIONAL) { in intel_pt_walk_fup()
1222 if (intel_pt_insn.branch == INTEL_PT_BR_INDIRECT) { in intel_pt_walk_tip()
1248 if (intel_pt_insn.branch == INTEL_PT_BR_CONDITIONAL) { in intel_pt_walk_tip()
1317 if (intel_pt_insn.branch == INTEL_PT_BR_INDIRECT) { in intel_pt_walk_tnt()
1337 if (intel_pt_insn.branch == INTEL_PT_BR_CONDITIONAL) { in intel_pt_walk_tnt()
/tools/perf/arch/x86/tests/
Dgen-insn-x86-dat.awk14 branch = ""
44 printf "}, %d, %s, \"%s\", \"%s\",", len, rel, op, branch
47 branch = ""
62 branch = $i
Dinsn-x86.c99 int op, branch; in test_data_item() local
116 branch = get_branch(dat->expected_branch_str); in test_data_item()
129 if ((int)intel_pt_insn.branch != branch) { in test_data_item()
131 intel_pt_insn.branch, branch, dat->asm_rep); in test_data_item()
/tools/perf/util/
Dintel-bts.c80 struct branch { struct
89 struct branch *branch; in intel_bts_dump() argument
90 size_t i, pos = 0, br_sz = sizeof(struct branch), sz; in intel_bts_dump()
109 branch = (struct branch *)buf; in intel_bts_dump()
111 le64_to_cpu(branch->from), in intel_bts_dump()
112 le64_to_cpu(branch->to), in intel_bts_dump()
113 le64_to_cpu(branch->misc) & 0x10 ? in intel_bts_dump()
239 for (; offs < len_a; offs += sizeof(struct branch)) { in intel_bts_find_overlap()
273 struct branch *branch) in intel_bts_synth_branch_sample() argument
284 sample.ip = le64_to_cpu(branch->from); in intel_bts_synth_branch_sample()
[all …]
Devsel_config.h43 char *branch; member
Dpython-ext-sources26 util/parse-branch-options.c
Dcallchain.h147 bool branch; member
199 bool branch, struct branch_flags *flags,
Dmachine.c2011 bool branch, in add_callchain_ip() argument
2076 branch, flags, nr_loop_iter, in add_callchain_ip()
2190 bool branch; in resolve_lbr_callchain_sample() local
2206 branch = false; in resolve_lbr_callchain_sample()
2215 branch = true; in resolve_lbr_callchain_sample()
2219 branch = true; in resolve_lbr_callchain_sample()
2228 branch = true; in resolve_lbr_callchain_sample()
2235 branch = true; in resolve_lbr_callchain_sample()
2244 branch, flags, NULL, in resolve_lbr_callchain_sample()
2284 struct branch_stack *branch = sample->branch_stack; in thread__resolve_callchain_sample() local
[all …]
Dparse-events.l322 branch-instructions|branches { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_HW_BRANCH_INS…
323 branch-misses { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_HW_BRANCH_MISSES); }
355 branch|branches|bpu|btb|bpc |
Dcallchain.c589 if (cursor_node->branch) { in fill_node()
749 if (match == MATCH_EQ && node->branch) { in match_chain()
1048 bool branch, struct branch_flags *flags, in callchain_cursor_append() argument
1066 node->branch = branch; in callchain_cursor_append()
1575 node->branch, &node->branch_flags, in callchain_cursor__copy()
/tools/perf/tests/attr/
DREADME36 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/perf/Documentation/
Dperf-top.txt171 --call-graph [mode,type,min[,limit],order[,key][,branch]]::
222 --branch-any::
223 Enable taken branch stack sampling. Any type of taken branch may be sampled.
224 This is a shortcut for --branch-filter any. See --branch-filter for more infos.
227 --branch-filter::
228 Enable taken branch stack sampling. Each sample captures a series of consecutive
234 The option requires at least one branch type among any, any_call, any_ret, ind_call, cond.
236 event are applied to the branch filter. Both kernel (k) and hypervisor (hv) privilege
237 levels are subject to permissions. When sampling on multiple events, branch stack sampling
238 is enabled for all the sampling events. The sampled branch type is the same for all events.
[all …]
Ditrace.txt13 l synthesize last branch entries (use with i or x)
31 Also the number of last branch entries (default 64, max. 1024) for
Dperf-report.txt114 If --branch-stack option is used, following sort keys are also
123 - mispredict: "N" for predicted branch, "Y" for mispredicted branch
124 - in_tx: branch in TSX transaction
129 and symbol_to, see '--branch-stack'.
140 (incompatible with --branch-stack):
220 --call-graph=<print_type,threshold[,print_limit],order,sort_key[,branch],value>::
222 call order, sort key, optional branch and value. Note that ordering
229 - fractal: like graph, but displays relative rates. Each branch of
252 branch can be:
253 - branch: include last branch information in callgraph when available.
[all …]
Dperf-record.txt260 doesn't work with branch stack sampling at the same time.
348 --branch-any::
349 Enable taken branch stack sampling. Any type of taken branch may be sampled.
350 This is a shortcut for --branch-filter any. See --branch-filter for more infos.
353 --branch-filter::
354 Enable taken branch stack sampling. Each sample captures a series of consecutive
363 - ind_call: any indirect branch
365 - u: only when the branch target is at the user level
366 - k: only when the branch target is in the kernel
372 - save_type: save branch type during sampling in case binary is not available later
[all …]
Dperf-script.txt185 Trace decoding. The flags are "bcrosyiABEx" which stand for branch,
193 cases e.g. "jcc (x)" for a condition branch within a transaction.
212 The brstack output includes branch related information with raw addresses using the
214 FROM: branch source instruction
215 TO : branch target instruction
216 …M/P/-: M=branch target mispredicted or branch direction was mispredicted, P=target predicted or di…
217 X/- : X=branch inside a transactional region, -=not in transaction region or not supported
223 When brstackinsn is specified the full assembler sequences of branch sequences for each sample
Dintel-pt.txt21 conditional branch was taken or not taken, so to make use of that packet the
90 a branch sample is synthesized for every single branch. To get an idea what
102 The flags are "bcrosyiABEx" which stand for branch, call, return, conditional,
119 Because Intel PT does not update the cycle count on every branch or instruction,
126 instruction. If the cycle count is associated with an asynchronous branch
133 TNT packet that starts with a non-taken branch. To see every possible IPC
400 pt Specifies pass-through which enables the 'branch' config term.
405 branch Enable branch tracing. Branch tracing is enabled by default so to
406 disable branch tracing use 'branch=0'.
408 The default config selects 'branch' if it is available.
[all …]
Dtips.txt17 Profiling branch (mis)predictions with: perf record -b / perf report
19 Treat branches as callchains: perf report --branch-history
Dintel-bts.txt8 similarities because it can also identify every branch a program takes. A
Dandroid.txt27 1. Download the master branch of the Android source tree.
/tools/testing/selftests/filesystems/incfs/
DOWNERS1 # include OWNERS from the authoritative android-mainline branch
/tools/testing/ktest/examples/include/
Dpatchcheck.conf32 PATCH_CHECKOUT := test/branch
/tools/perf/arch/x86/util/
Dintel-bts.c49 struct branch { struct
458 btsr->itr.alignment = sizeof(struct branch); in intel_bts_recording_init()

12