Re: [RFC PATCH 1/3] perf probe: Init symbol as kprobe if any pev is kprobe
From: Alexei Starovoitov
Date: Fri Jun 26 2015 - 04:49:26 EST
On 6/25/15 3:37 AM, Wang Nan wrote:
Before this patch, add_perf_probe_events() init symbol maps only for
uprobe if the first pev passed to it is a uprobe event. However, with
the incoming BPF uprobe support, now it will be possible to pass an
array with combined kprobe and uprobe events to add_perf_probe_events().
This patch check all pevs instead of the first one, and init kernel
symbol if any events is not uprobe.
Signed-off-by: Wang Nan<wangnan0@xxxxxxxxxx>
same as other patches: please decipher 'pev'
--
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/