Re: [PATCH RFC V6 5/6] perf,tool: per-event callgraph support

2015-07-29 Thread Jiri Olsa
On Mon, Jul 27, 2015 at 08:21:38AM -0400, Kan Liang wrote: SNIP > diff --git a/tools/perf/util/evsel.c b/tools/perf/util/evsel.c > index 7febfe2..874de7d 100644 > --- a/tools/perf/util/evsel.c > +++ b/tools/perf/util/evsel.c > @@ -545,14 +545,15 @@ int perf_evsel__group_desc(struct perf_evsel *ev

Re: [PATCH RFC V6 5/6] perf,tool: per-event callgraph support

2015-07-29 Thread Jiri Olsa
On Mon, Jul 27, 2015 at 08:21:38AM -0400, Kan Liang wrote: SNIP > > -static void apply_config_terms(struct perf_evsel *evsel) > +static void apply_config_terms(struct perf_evsel *evsel, > +struct record_opts *opts) > { > struct perf_evsel_config_term *term; >

Re: [PATCH RFC V6 5/6] perf,tool: per-event callgraph support

2015-07-29 Thread Jiri Olsa
On Mon, Jul 27, 2015 at 08:21:38AM -0400, Kan Liang wrote: SNIP > struct parse_events_term { > diff --git a/tools/perf/util/parse-events.l b/tools/perf/util/parse-events.l > index f542750..16af73b 100644 > --- a/tools/perf/util/parse-events.l > +++ b/tools/perf/util/parse-events.l > @@ -184,6 +1