From: Frederic Weisbecker Date: Wed, 29 Jun 2011 21:08:14 +0000 (+0200) Subject: perf tools: Allow sort dimensions to be registered more than once X-Git-Tag: v3.1-rc1~299^2~19^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd8ea21276adefc7f0133bd42fcf3b2faf0b15f8;p=pandora-kernel.git perf tools: Allow sort dimensions to be registered more than once So that the parent sort dimension can be registered twice: once if we add it as an explicit sort dimension (-s parent) and twice if we request a parent filter (-p foo). We'll have only one parent sort dimension in the end but this allows to override the default parent filter with we gave in "-p" option. The goal of this is to prepare to allow the use of "-s parent" and "-p foo" at the same time, ie: sort by filtered parent. Signed-off-by: Frederic Weisbecker Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: Stephane Eranian Cc: David Ahern Cc: Sam Liao --- Reading git-diff-tree failed