Adrian Hunter b25756df5b 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>
2019-01-02 11:05:06 -03:00
..
2018-12-17 14:57:07 -03:00
2018-04-19 12:29:41 -03:00
2018-10-18 11:16:38 -03:00
2018-12-17 14:56:47 -03:00
2015-08-21 11:34:10 -03:00
2016-10-24 11:07:39 -03:00
2018-12-17 14:57:07 -03:00
2018-12-17 14:57:07 -03:00
2018-03-16 13:52:37 -03:00
2018-03-16 13:52:37 -03:00
2018-03-05 11:52:41 -03:00
2017-07-18 23:14:08 -03:00
2018-12-17 14:56:47 -03:00
2018-12-17 14:57:07 -03:00
2018-12-17 14:57:07 -03:00
2018-12-17 14:57:07 -03:00
2018-12-17 14:57:07 -03:00
2018-12-17 14:57:07 -03:00
2018-12-17 14:57:07 -03:00