Debian Patches

Status for sysprof/48~beta-2

Patch Description Author Forwarded Bugs Origin Last update
hppa-mapped-ring-buffer.patch mapped-ring-buffer: Round to the shared memory boundary on hppa
In map_head_and_body_twice(), the second mmap call fails:

mmap2(NULL, 135168, PROT_READ|PROT_WRITE, MAP_SHARED, 3, 0) = 0xf64a2000
mmap2(0xf64b3000, 65536, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_FIXED, 3, 0x1000) = -1 EINVAL (Invalid argument)

Due to cache issues, all shared mapping of a page must be equivalently
mapped. This requires page mappings to be at the same virtual address
modulo 4 MB. Due to a kernel limitation, all mappings to a file must
be equivalent.

The test can be fixed by rounding the buffer_size used in the mapped
ring buffer to 4 MB on hppa. This makes the two mmap mappings equivalent.
John David Anglin <dave.anglin@bell.net> no debian 2022-10-16
live-unwinder-only-enable-live-unwinder-on-x86-_64.patch live-unwinder: only enable live-unwinder on x86(_64)

(cherry picked from commit 10c1ae93812bc6736e5c26ff10c39762cc3fb9a6)
Christian Hergert <chergert@redhat.com> no upstream, after 48.beta 2025-02-08

All known versions for source package 'sysprof'

Links