We can use the Sysprof collector API to implement a mostly similar tracing mechanism on Linux.
Pull request: https://github.com/WebKit/WebKit/pull/29681
Committed 280690@main (cb1a4a419f21): <https://commits.webkit.org/280690@main> Reviewed commits have been landed. Closing PR #29681 and removing active labels.