]> git.baikalelectronics.ru Git - kernel.git/commit
perf thread-stack: Avoid direct reference to the thread's stack
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 21 Dec 2018 12:06:15 +0000 (14:06 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 2 Jan 2019 13:48:18 +0000 (10:48 -0300)
commit6aa810b7fd046f5d0d420dd31b02b1160dd5242f
tree8295b3c05deb026ddf9213dc258e791f4455a7a0
parentde400f65ff0175be41573e35b8a26e8af95f444c
perf thread-stack: Avoid direct reference to the thread's stack

In preparation for fixing thread stack processing for the idle task,
avoid direct reference to the thread's stack. The thread stack will
change to an array of thread stacks, at which point the meaning of the
direct reference will change.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/r/20181221120620.9659-4-adrian.hunter@intel.com
[ Rename thread_stack__ts() to thread__stack() since this operates on a 'thread' struct ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/thread-stack.c