From: Matt Fleming Date: Wed, 24 Sep 2014 14:04:06 +0000 (+0100) Subject: perf tools: Refactor unit and scale function parameters X-Git-Tag: fixes-against-v3.18-rc2~100^2~2^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46441bdc76fee08e297ebcf17e4ca91013b1ee9e;p=pandora-kernel.git perf tools: Refactor unit and scale function parameters 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. Signed-off-by: Matt Fleming Acked-by: Jiri Olsa Cc: "H. Peter Anvin" Cc: Ingo Molnar Cc: Jiri Olsa Cc: Peter Zijlstra Cc: Thomas Gleixner Link: http://lkml.kernel.org/r/1411567455-31264-3-git-send-email-matt@console-pimps.org Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed