Re: [RFC PATCH v8 46/49] perf tools: Add prologue for BPF programs for fetching arguments

From: Alexei Starovoitov
Date: Fri Jun 26 2015 - 04:32:47 EST


On 6/24/15 5:31 AM, Wang Nan wrote:
This patch generates prologue for a BPF program which fetch arguments
for it. With this patch, the program can have arguments as follow:

SEC("lock_page=__lock_page page->flags")
int lock_page(struct pt_regs *ctx, int err, unsigned long flags)
{
return 1;
}

looks great. Please address issues found by buildbot.
--
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/