[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120813091743.GC3471@gmail.com>
Date: Mon, 13 Aug 2012 11:17:43 +0200
From: Ingo Molnar <mingo@...nel.org>
To: Arnaldo Carvalho de Melo <acme@...stprotocols.net>
Cc: Andrey Wagin <avagin@...il.com>, linux-kernel@...r.kernel.org,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Paul Mackerras <paulus@...ba.org>,
David Ahern <dsahern@...il.com>
Subject: Re: [PATCH 2/3] perf: teach perf inject to merge sched_stat_* and
sched_switch events
* Arnaldo Carvalho de Melo <acme@...stprotocols.net> wrote:
> static int process_sample_event(struct perf_tool *tool __used,
> union perf_event *event,
> struct perf_sample *sample,
> struct perf_evsel *evsel,
> struct machine *machine)
Just saw this 5-parameter function signature fly by: as a
separate clean-up it would be really neat to stick most of these
into an intuitively named helper structure or so.
struct event_context ectx?
That would make extension of the context easier as well in the
future. Or so.
Thanks,
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists