/tools/perf/util/ |
D | bpf-prologue.c | 103 #define ins(i, p) append_insn((i), (p)) macro 122 ins(BPF_LDX_MEM(BPF_DW, target_reg, ctx_reg, offset), pos); in gen_ldx_reg_from_ctx() 150 ins(BPF_MOV64_REG(BPF_REG_ARG3, src_base_addr_reg), pos); in gen_read_mem() 153 ins(BPF_ALU64_IMM(BPF_ADD, BPF_REG_ARG3, offset), pos); in gen_read_mem() 156 ins(BPF_ALU64_IMM(BPF_MOV, BPF_REG_ARG2, BPF_REG_SIZE), pos); in gen_read_mem() 160 ins(BPF_MOV64_REG(BPF_REG_ARG1, dst_addr_reg), pos); in gen_read_mem() 163 ins(BPF_EMIT_CALL(probeid), pos); in gen_read_mem() 169 ins(BPF_JMP_IMM(BPF_JNE, BPF_REG_0, 0, JMP_TO_ERROR_CODE), in gen_read_mem() 266 ins(BPF_MOV64_REG(BPF_REG_7, BPF_REG_FP), pos); in gen_prologue_slowpath() 268 ins(BPF_ALU64_IMM(BPF_ADD, BPF_REG_7, stack_offset), pos); in gen_prologue_slowpath() [all …]
|
D | annotate.h | 27 struct ins { struct 52 struct ins ins; member 63 int (*scnprintf)(struct ins *ins, char *bf, size_t size, 67 bool ins__is_jump(const struct ins *ins); 68 bool ins__is_call(const struct ins *ins); 69 bool ins__is_ret(const struct ins *ins); 70 bool ins__is_lock(const struct ins *ins); 71 int ins__scnprintf(struct ins *ins, char *bf, size_t size, struct ins_operands *ops, int max_ins_na… 154 struct ins ins; member
|
D | annotate.c | 73 struct ins *instructions; 101 struct ins *new_instructions; in arch__grow_instructions() 108 new_instructions = realloc(arch->instructions, new_nr_allocated * sizeof(struct ins)); in arch__grow_instructions() 119 new_instructions = calloc(new_nr_allocated, sizeof(struct ins)); in arch__grow_instructions() 129 struct ins *ins; in arch__associate_ins_ops() local 135 ins = &arch->instructions[arch->nr_instructions]; in arch__associate_ins_ops() 136 ins->name = strdup(name); in arch__associate_ins_ops() 137 if (!ins->name) in arch__associate_ins_ops() 140 ins->ops = ops; in arch__associate_ins_ops() 221 static int ins__raw_scnprintf(struct ins *ins, char *bf, size_t size, in ins__raw_scnprintf() argument [all …]
|
/tools/perf/scripts/python/ |
D | stat-cpi.py | 57 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/arm64/annotate/ |
D | instructions.c | 61 static int mov__scnprintf(struct ins *ins, char *bf, size_t size,
|
/tools/perf/arch/s390/annotate/ |
D | instructions.c | 48 static int call__scnprintf(struct ins *ins, char *bf, size_t size,
|
/tools/perf/ui/browsers/ |
D | annotate.c | 143 if (ins__is_lock(&pos->ins)) in is_fused() 144 name = pos->ops.locked.ins.name; in is_fused() 146 name = pos->ins.name; in is_fused() 148 if (!name || !cursor->ins.name) in is_fused() 151 if (ins__is_fused(ab->arch, name, cursor->ins.name)) in is_fused() 522 if (!ins__is_jump(&dl->ins)) in annotate_browser__jump() 878 else if (!dl->ins.ops) in annotate_browser__run() 880 else if (ins__is_ret(&dl->ins)) in annotate_browser__run()
|
/tools/power/cpupower/bench/ |
D | README-BENCH | 81 below possible ondemand sample kick ins (1)): 85 switching up (compare with below possible ondemand sample kick ins (2))::
|
/tools/testing/selftests/bpf/ |
D | README.rst | 163 A set of selftests use BPF target-specific built-ins, which might require 167 the following built-ins, listed with corresponding Clang diffs introducing
|
/tools/perf/arch/x86/annotate/ |
D | instructions.c | 2 static struct ins x86__instructions[] = {
|
/tools/kvm/kvm_stat/ |
D | kvm_stat | 964 if any(isinstance(ins, TracepointProvider) for ins in self.providers):
|