Re: [PATCH] perf: create a helper structure perf_event_context

2012-08-21 Thread Arnaldo Carvalho de Melo
Em Tue, Aug 21, 2012 at 11:59:20AM +0200, Ingo Molnar escreveu: > * Andrew Vagin wrote: > > 18 files changed, 222 insertions(+), 255 deletions(-) > > -static int process_sample_event(struct perf_tool *tool, > > - union perf_event *event, > > - s

Re: [PATCH] perf: create a helper structure perf_event_context

2012-08-21 Thread Ingo Molnar
* Andrew Vagin wrote: > 18 files changed, 222 insertions(+), 255 deletions(-) > -static int process_sample_event(struct perf_tool *tool, > - union perf_event *event, > - struct perf_sample *sample, > - struct p

[PATCH] perf: create a helper structure perf_event_context

2012-08-14 Thread Andrew Vagin
A long list of arguments looks not good: E.g: static int process_sample_event(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct perf_evsel *evsel,