|
|
Subscribe / Log in / New account

dwarf stacktrace in bpf

dwarf stacktrace in bpf

Posted Apr 14, 2021 13:27 UTC (Wed) by fuhchee (guest, #40059)
In reply to: dwarf stacktrace in bpf by seanyoung
Parent article: Comparing SystemTap and bpftrace

> Loops are allowed

Last I heard, this was compile-time bounded, implemented by unrolling.


to post comments

dwarf stacktrace in bpf

Posted Apr 14, 2021 14:14 UTC (Wed) by mathstuf (subscriber, #69389) [Link]

This article[1] is the latest I can find. You can have bounded loops now, but they must be verifiable. Validating that there is an end to the stack is data-dependent and likely not allowed. One could get up to a fixed stack size though I presume.

[1]https://lwn.net/Articles/794934/


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds