diff options
author | Jan Beulich <jbeulich@suse.com> | 2025-03-12 18:32:45 +0300 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2025-03-14 13:18:59 +0300 |
commit | 5c4e79e29a9fe4ea132118ac40c2bc97cfe23077 (patch) | |
tree | 3615b875233986106b7e498a15b4e92b0ddf0129 /tools/perf/scripts/python | |
parent | 1c3dfc7c6b0f551fdca3f7c1f1e4c73be8adb17d (diff) | |
download | linux-5c4e79e29a9fe4ea132118ac40c2bc97cfe23077.tar.xz |
xenfs/xensyms: respect hypervisor's "next" indication
The interface specifies the symnum field as an input and output; the
hypervisor sets it to the next sequential symbol's index. xensyms_next()
incrementing the position explicitly (and xensyms_next_sym()
decrementing it to "rewind") is only correct as long as the sequence of
symbol indexes is non-sparse. Use the hypervisor-supplied value instead
to update the position in xensyms_next(), and use the saved incoming
index in xensyms_next_sym().
Cc: stable@kernel.org
Fixes: a11f4f0a4e18 ("xen: xensyms support")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Message-ID: <15d5e7fa-ec5d-422f-9319-d28bed916349@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions