Re: [PATCH perf/core 6/8] perf-probe: Add --no-inlines option to avoid searching inline functions

From: Arnaldo Carvalho de Melo
Date: Wed May 06 2015 - 12:20:40 EST


Em Wed, May 06, 2015 at 09:46:51PM +0900, Masami Hiramatsu escreveu:
> Add --no-inlines(--inlines) option to avoid searching inline
> functions.
> Searching all functions which matches glob pattern can take a
> long time and find a lot of inline functions. With this option
> perf-probe searches target on the non-inlined functions.
>
>
> ret = add_perf_probe_events(params.events, params.nevents,
> params.max_probe_points,
> - params.force_add);
> + params.force_add,
> + params.no_inlines);

So, there is just one call to this function, and all the parameters come
from the 'param' struct, why not just pass it?

- 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/