Messages in this thread | | | Date | Wed, 6 May 2015 12:52:36 -0300 | From | Arnaldo Carvalho de Melo <> | Subject | Re: [PATCH perf/core 6/8] perf-probe: Add --no-inlines option to avoid searching inline functions |
| |
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
| |