Searched refs:jit (Results 1 – 7 of 7) sorted by relevance
119 static inline void reg_set_seen(struct bpf_jit *jit, u32 b1) in reg_set_seen() argument124 jit->seen_regs |= (1 << r1); in reg_set_seen()127 static s32 off_to_pcrel(struct bpf_jit *jit, u32 off) in off_to_pcrel() argument129 return off - jit->prg; in off_to_pcrel()132 static s64 ptr_to_pcrel(struct bpf_jit *jit, const void *ptr) in ptr_to_pcrel() argument134 if (jit->prg_buf) in ptr_to_pcrel()135 return (const u8 *)ptr - ((const u8 *)jit->prg_buf + jit->prg); in ptr_to_pcrel()141 reg_set_seen(jit, b1); \150 if (jit->prg_buf) \151 *(u16 *) (jit->prg_buf + jit->prg) = (op); \[all …]
103 struct jit_buffer jit; member152 dump_bytes(ctx->jit.buf, ctx->jit.len, header); in jit_dump()155 bpf_jit_dump(ctx->prog->len, ctx->jit.len, pass, ctx->jit.buf); in jit_dump()235 ctx->jit.buf = NULL; in jit_ctx_cleanup()236 ctx->jit.index = 0; in jit_ctx_cleanup()237 ctx->jit.len = 0; in jit_ctx_cleanup()271 if (!ctx->jit.buf) { in jit_buffer_check()275 } else if (ctx->jit.index > ctx->jit.len) { in jit_buffer_check()288 ctx->jit.len += n; in jit_buffer_update()290 ctx->jit.index += n; in jit_buffer_update()[all …]
13 rm -f /tmp/jit-${PID}.dump 2> /dev/null23 rm -f ${PERF_DATA} ${PERF_DATA}.jit /tmp/jit-${PID}.dump /tmp/jitted-${PID}-*.so 2> /dev/null
419 perf inject -i "${tmpfile}" -o "${perfdatafile}" --jit
72 bpf/jit.o
75 --jit::
64 * Value 3 : JIT_CODE_CLOSE : record marking the end of the jit runtime (optional)