perf sched map: Always show task comm with -v
authorNamhyung Kim <namhyung@kernel.org>
Mon, 24 Oct 2016 02:02:44 +0000 (11:02 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 25 Oct 2016 18:05:09 +0000 (15:05 -0300)
commite107f129e2e0e75ddf1cd7995a9f5ffff2307766
treea3a21de2cf475a8d668bcdbadf868184a4420f92
parent1208bb274ba547012579d5b68c693e0b36682b74
perf sched map: Always show task comm with -v

I'd like to see the name of tasks with perf sched map, but it only shows
name of new tasks and then use short names after all.  This is not good
for long running tasks since it's hard for users to track the short
names.  This patch makes it show the names (except the idle task) when
-v option is used.  Probably we may make it as default behavior.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20161024020246.14928-2-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-sched.c