perf trace: Validate target task/user/cpu argument
authorNamhyung Kim <namhyung.kim@lge.com>
Fri, 5 Oct 2012 05:02:13 +0000 (14:02 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 5 Oct 2012 15:47:54 +0000 (12:47 -0300)
commit32caf0d1fe14eb69191e7828701e381b1edb340d
tree23e13455f8a30d4edb198f0dd3dcb09cc0418153
parent139c0815903de1a7865fe1d6beac5e995fefdf46
perf trace: Validate target task/user/cpu argument

Those target options are mutually exclusive so check it before setting
up target thread/cpu maps.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1349413336-26936-2-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-trace.c