Home
last modified time | relevance | path

Searched refs:ins (Results 1 – 14 of 14) sorted by relevance

/tools/perf/util/
A Ddisasm.h13 struct ins;
22 struct ins *instructions;
53 struct ins { struct
80 struct ins ins; member
94 int (*scnprintf)(struct ins *ins, char *bf, size_t size,
113 int ins__scnprintf(struct ins *ins, char *bf, size_t size,
116 bool ins__is_call(const struct ins *ins);
117 bool ins__is_jump(const struct ins *ins);
119 bool ins__is_nop(const struct ins *ins);
120 bool ins__is_ret(const struct ins *ins);
[all …]
A Ddisasm.c89 struct ins *ins; in arch__associate_ins_ops() local
339 bool ins__is_call(const struct ins *ins) in ins__is_call() argument
490 bool ins__is_jump(const struct ins *ins) in ins__is_jump() argument
563 struct ins *ins = &ops->locked.ins; in lock__delete() local
565 if (ins->ops && ins->ops->free) in lock__delete()
827 bool ins__is_nop(const struct ins *ins) in ins__is_nop() argument
832 bool ins__is_ret(const struct ins *ins) in ins__is_ret() argument
844 const struct ins *ins = insp; in ins__key_cmp() local
866 struct ins *ins; in __ins__find() local
907 return ins ? ins->ops : NULL; in __ins__find()
[all …]
A Dannotate.c1487 if (!dl || !dl->ins.ops || !ins__is_jump(&dl->ins) || in disasm_line__is_valid_local_jump()
1751 if (dl->ins.ops && dl->ins.ops->scnprintf) { in disasm_line__write()
1752 if (ins__is_jump(&dl->ins)) { in disasm_line__write()
1760 } else if (ins__is_call(&dl->ins)) { in disasm_line__write()
1764 } else if (ins__is_ret(&dl->ins)) { in disasm_line__write()
2471 if (ins__is_lock(&dl->ins)) in annotate_get_insn_location()
2564 if (ins__is_lock(&dl->ins) && in find_disasm_line()
2873 if (prev_dl && ins__is_fused(arch, prev_dl->ins.name, dl->ins.name)) { in hist_entry__get_data_type()
2999 if (ins__is_ret(&dl->ins)) in process_basic_block()
3002 if (!ins__is_jump(&dl->ins)) in process_basic_block()
[all …]
A Dannotate.h133 struct ins ins; member
/tools/objtool/arch/powerpc/
A Ddecode.c49 u32 ins; in arch_decode_instruction() local
51 ins = bswap_if_needed(file->elf, *(u32 *)(sec->data->d_buf + offset)); in arch_decode_instruction()
52 opcode = ins >> 26; in arch_decode_instruction()
58 if (ins == 0x48000005) /* bl .+4 */ in arch_decode_instruction()
60 else if (ins & 1) /* bl[a] */ in arch_decode_instruction()
65 imm = ins & 0x3fffffc; in arch_decode_instruction()
68 imm |= ins & 2; /* AA flag */ in arch_decode_instruction()
/tools/objtool/arch/x86/
A Ddecode.c159 struct insn ins; in arch_decode_instruction() local
180 insn->len = ins.length; in arch_decode_instruction()
183 if (ins.vex_prefix.nbytes) in arch_decode_instruction()
188 op1 = ins.opcode.bytes[0]; in arch_decode_instruction()
189 op2 = ins.opcode.bytes[1]; in arch_decode_instruction()
190 op3 = ins.opcode.bytes[2]; in arch_decode_instruction()
209 if (ins.modrm.nbytes) { in arch_decode_instruction()
216 if (ins.sib.nbytes) { in arch_decode_instruction()
217 sib = ins.sib.bytes[0]; in arch_decode_instruction()
295 imm = ins.immediate.value; in arch_decode_instruction()
[all …]
/tools/perf/scripts/python/
A Dstat-cpi.py57 ins = get(time, "instructions", cpu, thread)
60 if ins != 0:
61 cpi = cyc/float(ins)
63 …15f: cpu %d, thread %d -> cpi %f (%d/%d)" % (time/(float(1000000000)), cpu, thread, cpi, cyc, ins))
/tools/perf/arch/powerpc/annotate/
A Dinstructions.c213 if (!strlen(dl->ins.name)) { in check_ppc_insn()
215 dl->ins.name = strdup(name_insn); in check_ppc_insn()
222 if (!strlen(dl->ins.name)) in check_ppc_insn()
223 dl->ins.name = strdup(ret->name); in check_ppc_insn()
/tools/perf/arch/arm64/annotate/
A Dinstructions.c62 static int mov__scnprintf(struct ins *ins, char *bf, size_t size,
/tools/perf/ui/browsers/
A Dannotate.c136 if (ins__is_lock(&pos->ins)) in is_fused()
137 name = pos->ops.locked.ins.name; in is_fused()
139 name = pos->ins.name; in is_fused()
141 if (!name || !cursor->ins.name) in is_fused()
144 if (ins__is_fused(ab->arch, name, cursor->ins.name)) in is_fused()
592 if (!ins__is_jump(&dl->ins)) in annotate_browser__jump()
966 else if (!dl->ins.ops) in annotate_browser__run()
968 else if (ins__is_ret(&dl->ins)) in annotate_browser__run()
/tools/perf/arch/x86/annotate/
A Dinstructions.c10 static struct ins x86__instructions[] = {
228 if (ins__is_call(&dl->ins)) { in update_insn_state_x86()
260 if (!strncmp(dl->ins.name, "add", 3)) { in update_insn_state_x86()
314 if (strncmp(dl->ins.name, "mov", 3)) in update_insn_state_x86()
/tools/power/cpupower/bench/
A DREADME-BENCH81 below possible ondemand sample kick ins (1)):
85 switching up (compare with below possible ondemand sample kick ins (2))::
/tools/testing/selftests/bpf/
A DREADME.rst242 A set of selftests use BPF target-specific built-ins, which might require
246 the following built-ins, listed with corresponding Clang diffs introducing
/tools/kvm/kvm_stat/
A Dkvm_stat1032 if any(isinstance(ins, TracepointProvider) for ins in self.providers):

Completed in 34 milliseconds