summaryrefslogtreecommitdiffstats
path: root/tools/power
diff options
context:
space:
mode:
authorAdrian Hunter2018-12-21 13:06:20 +0100
committerArnaldo Carvalho de Melo2019-01-02 15:05:06 +0100
commitb25756df5b28cd7b6e91200fc5012e7c76e8ec69 (patch)
tree0dac9718cbb0de36b66b45f9d1d7a8d2b01c32ad /tools/power
parentperf thread-stack: Fix thread stack processing for the idle task (diff)
downloadkernel-qcow2-linux-b25756df5b28cd7b6e91200fc5012e7c76e8ec69.tar.gz
kernel-qcow2-linux-b25756df5b28cd7b6e91200fc5012e7c76e8ec69.tar.xz
kernel-qcow2-linux-b25756df5b28cd7b6e91200fc5012e7c76e8ec69.zip
perf session: Add comment for perf_session__register_idle_thread()
Add a comment to perf_session__register_idle_thread() to bring attention to a pitfall with the idle task thread structure. The pitfall is that there should really be a 'struct thread' for the idle task of each cpu, but there is only one that can have pid == tid == 0. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Acked-by: Jiri Olsa <jolsa@kernel.org> Link: http://lkml.kernel.org/r/20181221120620.9659-9-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/power')
0 files changed, 0 insertions, 0 deletions