]> git.baikalelectronics.ru Git - kernel.git/commit
perf thread-stack: Allocate an array of thread stacks
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 21 Dec 2018 12:06:18 +0000 (14:06 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 2 Jan 2019 13:55:55 +0000 (10:55 -0300)
commit792aac94f4b001f99dbb1529cb8e4cb6e1ad9cce
tree5431e14d34d6c15e8ba4fe23743296c2846aeec1
parent5c2dbe0de9b645376dc7d9373886666ee3f6362c
perf thread-stack: Allocate an array of thread stacks

In preparation for fixing thread stack processing for the idle task,
allocate an array of thread stacks.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/r/20181221120620.9659-7-adrian.hunter@intel.com
[ No need to check for NULL when calling zfree(), noticed by Jiri Olsa ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/thread-stack.c