perf thread-stack: Simplify some code in thread_stack__process()
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 21 Dec 2018 12:06:13 +0000 (14:06 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 2 Jan 2019 13:42:45 +0000 (10:42 -0300)
commit03b32cb2810814756095dbd91fce0c77617d096b
treef3901b9c20a20b25de1bd185c549a93dc86c2ffb
parent4ccc98a48958da9f89beb71c66a4e05468727951
perf thread-stack: Simplify some code in thread_stack__process()

In preparation for fixing thread stack processing for the idle task,
simplify some code in thread_stack__process().

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/r/20181221120620.9659-2-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/thread-stack.c