diff options
author | 2012-05-07 16:33:56 -0300 | |
---|---|---|
committer | 2012-05-07 16:46:03 -0300 | |
commit | 10b47d54154ce711e4c4438aff10f0215b2ab8eb (patch) | |
tree | e8919d8752195205e44ad3d68b775b13004f7849 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | perf session: Fail on processing event with unknown size (diff) | |
download | linux-dev-10b47d54154ce711e4c4438aff10f0215b2ab8eb.tar.xz linux-dev-10b47d54154ce711e4c4438aff10f0215b2ab8eb.zip |
perf top: Set target.system_wide
Check if neither of --pid, --tid or --uid was specified and if so, set
system_wide appropriately.
Namhyung's patch would make using any of the above target specifiers
emit a warning in perf_target__validate, since it would see
target.system_wide set and one of the others as well.
So set system_wide after validation.
Suggested-by: David Ahern <dsahern@gmail.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-6e4zrji1uw0rinfyoitl0wi4@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions