Re: [RFC PATCH 0/6] perf bpf: Probing with local variable

From: Arnaldo Carvalho de Melo
Date: Tue May 05 2015 - 21:44:19 EST


Em Wed, May 06, 2015 at 10:37:37AM +0900, Masami Hiramatsu escreveu:
> On 2015/05/05 19:10, He Kuang wrote:
> > (79) r3 = *(u64 *)(r6 +88)
> > (bf) r9 = r3
> > (bf) r2 = r7
> > (bf) r3 = r8
> > (bf) r4 = r9

> Hmm, this idea looks good to me, I need to learn what the bpf needs for review.
> BTW, if it is so easily to compose the byte code in perf, can we do it in the
> kernel too? I'd like to check the possibility of replacing the old fetch_arg
> functions with these byte code for optimizing performance and reduce redundant
> functionality. :)

Excellent idea! ;-)

- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/