On 11/8/22 18:46, Frank Ch. Eigler wrote:
> Demi Marie Obenour <demioben...@gmail.com> writes:
> 
>> Three other options I can think of:
>> [...]
> 
> Another one:
> 
>   4. Speed up out-of-context backtracer(s), possibly consuming
>      kernel-perf-ringbuffer stack dumps, or possibly using another
>      event source to trigger and work via ptrace and /proc/$pid/mem
> 
> - FChE

Kernel stack dumps will not work for programs (such as OCaml 5.0)
that use segmented stacks.  A userspace ptracer might work if it
is only woken up when absolutely necessary, but I suspect it would
be slow due to syscall overhead.  That is why I suggested the vDSO
dumper: it would run from the process’s own context.
-- 
Sincerely,
Demi Marie Obenour (she/her/hers)
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to