Bug 275203

Summary: [GLib] Import the libsysprof-capture source tree
Product: WebKit Reporter: Adrian Perez <aperez>
Component: Tools / TestsAssignee: Adrian Perez <aperez>
Status: RESOLVED FIXED    
Severity: Normal CC: alex, bugs-noreply, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 275314, 275321    

Adrian Perez
Reported 2024-06-06 02:48:21 PDT
Similarly to other third party projects, import the libsysprof-capture source tree into Source/ThirdParty/, and integrate building it as part of the CMake build. This is a very small (7K LoC), self contained C library with a permissive license compatible with the rest of the WebKit source code (BSD-2-Clause). It will be used to add runtime tracing support for the WebKit GTK and WPE ports. While some Linux distributions have packages for the library, some other distributions and cross-compilation environments like Yocto or Buildroot may not have packages -- and we *really* want to be able to tell people to run a command to produce a trace output even for release builds, so in order to have that possibility, we need to make sure that WebKit can be built with libsysprof-capture enabled by default in all cases.
Attachments
Adrian Perez
Comment 1 2024-06-06 04:53:13 PDT
EWS
Comment 2 2024-06-10 10:43:18 PDT
Committed 279881@main (ccba8b99a8ed): <https://commits.webkit.org/279881@main> Reviewed commits have been landed. Closing PR #29577 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2024-06-10 10:44:13 PDT
Note You need to log in before you can comment on or make changes to this bug.