From: Namhyung Kim Date: Mon, 7 May 2012 05:09:03 +0000 (+0900) Subject: perf target: Consolidate target task/cpu checking X-Git-Tag: v3.5-rc1~141^2~20^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d67356e7f80f5c2ef487bedc11a91d5fe18c5a15;p=pandora-kernel.git perf target: Consolidate target task/cpu checking There are places that check whether target task/cpu is given or not and some of them didn't check newly introduced uid or cpu list. Add and use three of helper functions to treat them properly. Signed-off-by: Namhyung Kim Reviewed-by: David Ahern Cc: David Ahern Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1336367344-28071-7-git-send-email-namhyung.kim@lge.com Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed