| Date | Mon, 29 Sep 2014 11:21:17 +0200 | From | Jiri Olsa <> | Subject | Re: [PATCH 02/11] perf tools: Refactor unit and scale function parameters |
| |
On Wed, Sep 24, 2014 at 03:04:06PM +0100, Matt Fleming wrote: > From: Matt Fleming <matt.fleming@intel.com> > > Passing pointers to alias modifiers 'unit' and 'scale' isn't very > future-proof since if we add more modifiers to the list we'll end up > passing more arguments. > > Instead wrap everything up in a struct perf_pmu_info, which can easily > be expanded when additional alias modifiers are necessary in the future. > > Cc: Jiri Olsa <jolsa@redhat.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
thanks, jirka
|