diff options
author | Jeff Xie <xiehuan09@gmail.com> | 2023-02-04 12:01:39 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-02-10 02:56:51 +0300 |
commit | c16a3b11eaa88872d07f135df94dfa3fbcd05d10 (patch) | |
tree | 2be17ea9cd0a6c1ba4789beaf3308db18835a839 /tools/perf/scripts/python/stackcollapse.py | |
parent | 67222c4ba8afe409d1e049a8f1e687c8a214fec7 (diff) | |
download | linux-c16a3b11eaa88872d07f135df94dfa3fbcd05d10.tar.xz |
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 e57ef2ed97c1 ("x86: Put hot per CPU variables into a struct")
changed it.
Link: https://lkml.kernel.org/r/20230204090139.1789264-1-xiehuan09@gmail.com
Fixes: e57ef2ed97c1 ("x86: Put hot per CPU variables into a struct")
Signed-off-by: Jeff Xie <xiehuan09@gmail.com>
Cc: Jan Kiszka <jan.kiszka@siemens.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions