Xi Kangjie
883d50f56d
scripts/gdb/linux/tasks.py: fix get_thread_info
...
Since kernel 4.9, the thread_info has been moved into task_struct, no
longer locates at the bottom of kernel stack.
See commits c65eacbe290b ("sched/core: Allow putting thread_info into
task_struct") and 15f4eae70d36 ("x86: Move thread_info into
task_struct").
Before fix:
(gdb) set $current = $lx_current()
(gdb) p $lx_thread_info($current)
$1 = {flags = 1470918301}
(gdb) p $current.thread_info
$2 = {flags = 2147483648}
After fix:
(gdb) p $lx_thread_info($current)
$1 = {flags = 2147483648}
(gdb) p $current.thread_info
$2 = {flags = 2147483648}
Link: http://lkml.kernel.org/r/20180118210159.17223-1-imxikangjie@gmail.com
Fixes: 15f4eae70d36 ("x86: Move thread_info into task_struct")
Signed-off-by: Xi Kangjie <imxikangjie@gmail.com>
Acked-by: Jan Kiszka <jan.kiszka@siemens.com>
Acked-by: Kieran Bingham <kbingham@kernel.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2018-01-19 10:09:41 -08:00
..
2017-08-10 01:01:03 +09:00
2017-11-21 15:57:11 -08:00
2017-11-14 18:25:40 -08:00
2017-11-02 11:10:55 +01:00
2018-01-19 10:09:41 -08:00
2018-01-13 21:50:13 +09:00
2018-01-06 02:31:23 +09:00
2017-03-28 16:16:52 +02:00
2017-11-15 11:56:19 -08:00
2017-11-23 23:12:05 +09:00
2017-11-17 17:45:29 -08:00
2017-11-02 11:10:55 +01:00
2017-06-23 14:17:38 -06:00
2016-12-11 22:30:10 +01:00
2016-04-06 14:06:48 +01:00
2017-11-29 18:40:43 -08:00
2017-05-14 11:20:44 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-02-03 11:49:06 +01:00
2017-12-12 13:22:10 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-23 23:12:03 +09:00
2017-11-02 11:10:55 +01:00
2016-10-11 15:06:30 -07:00
2017-11-02 11:10:55 +01:00
2018-01-19 10:09:41 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-10-12 11:07:42 -06:00
2017-05-14 11:20:44 +09:00
2017-05-14 11:20:44 +09:00
2015-09-25 16:31:45 +01:00
2015-04-15 14:01:12 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-12-14 16:00:48 -08:00
2017-10-23 08:01:37 -06:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-07-07 15:09:09 -07:00
2017-05-14 11:20:44 +09:00
2017-11-17 16:10:01 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-07 10:32:44 +01:00
2017-11-02 11:10:55 +01:00
2016-02-26 15:30:20 +00:00
2017-10-13 16:18:32 -07:00
2017-11-16 09:07:32 +09:00
2017-12-02 08:32:04 -07:00
2017-11-02 11:10:55 +01:00
2017-11-14 09:29:27 +11:00
2017-11-02 11:10:55 +01:00
2017-11-17 17:45:29 -08:00
2017-11-02 11:10:55 +01:00
2017-11-17 17:45:29 -08:00
2018-01-17 11:54:56 -08:00
2017-11-02 11:10:55 +01:00
2017-11-14 18:25:40 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-17 17:45:29 -08:00
2017-11-17 17:45:29 -08:00
2017-11-02 11:10:55 +01:00
2017-11-17 16:10:04 -08:00
2017-11-23 23:29:26 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-17 17:45:29 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-05-14 11:20:44 +09:00
2017-11-17 17:45:29 -08:00
2017-11-02 11:10:55 +01:00
2015-06-23 13:35:47 +09:00
2017-11-02 11:10:55 +01:00
2017-03-13 09:40:28 -07:00
2017-05-14 11:20:44 +09:00
2017-03-11 11:13:38 +09:00
2017-11-17 16:10:01 -08:00
2017-11-02 11:10:55 +01:00
2014-06-10 00:04:06 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-03-24 20:51:49 -04:00
2015-11-03 10:45:26 -05:00
2017-05-14 11:20:44 +09:00
2017-11-02 11:10:55 +01:00
2014-06-10 00:04:06 +02:00
2017-02-10 12:43:47 +11:00
2016-11-14 11:11:51 +11:00
2014-10-14 02:18:23 +02:00
2017-11-17 16:10:00 -08:00
2017-09-08 10:02:55 -06:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-06-06 08:42:34 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2014-08-20 16:03:45 +02:00