Commit c16a3b1
scripts/gdb: fix 'lx-current' for x86
When printing the name of the current process, it will report an error:
(gdb) p $lx_current().comm Python Exception <class 'gdb.error'> No symbol
"current_task" in current context.: Error occurred in Python: No symbol
"current_task" in current context.
Because e57ef2e ("x86: Put hot per CPU variables into a struct")
changed it.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: e57ef2e ("x86: Put hot per CPU variables into a struct")
Signed-off-by: Jeff Xie <[email protected]>
Cc: Jan Kiszka <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>1 parent 67222c4 commit c16a3b1
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
| 166 | + | |
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
| |||
0 commit comments