perf tools: Tag thread comm as overriden
authorFrederic Weisbecker <fweisbec@gmail.com>
Sat, 16 Nov 2013 01:02:09 +0000 (02:02 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 19 Nov 2013 13:33:29 +0000 (10:33 -0300)
commita5285ad9e30fd90b88a11adcab97bd4c3ffe44eb
treeff6d521d1afe35f413fa27fa5fe44a5ba3c7406f
parent801a76050bcf8d4e500eb8d048ff6265f37a61c8
perf tools: Tag thread comm as overriden

The problem is that when a thread overrides its default ":%pid" comm, we
forget to tag the thread comm as overriden. Hence, this overriden comm
is not inherited on future forks. Fix it.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Tested-by: David Ahern <dsahern@gmail.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/20131116010207.GA18855@localhost.localdomain
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/thread.c