perf top: Set display thread COMM to help with debugging
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 6 Aug 2019 14:20:42 +0000 (11:20 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 12 Aug 2019 19:26:02 +0000 (16:26 -0300)
commit1205a2719e52b6b52e0f9c0011554419da0377a0
treecde8b1a9d9e881e14ab54b731f4141bcaa8836e8
parentb115df076d337a727017538d11d7d46f5bcbff15
perf top: Set display thread COMM to help with debugging

When we want to attach just to the thread that updates the display it
helps having its COMM stand out, so change it from the default "perf" to
"perf-top-UI".

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-5w0hmlk3zfvysxvpsh763k9w@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-top.c