On Mon, 26 Mar 2018 16:02:20 -0700 Alexei Starovoitov <a...@kernel.org> wrote:
> for_each_kernel_tracepoint() is used by out-of-tree lttng module > and therefore cannot be changed. This is false and misleading. NACK. -- Steve > Instead introduce kernel_tracepoint_find_by_name() to find > tracepoint by name. > > Fixes: 9e9afbae6514 ("tracepoint: compute num_args at build time") > Signed-off-by: Alexei Starovoitov <a...@kernel.org> > --- > v1->v2: fix 'undef CONFIG_TRACEPOINTS' build as spotted by Mathieu >