diff options
author | MacDue <macdue@dueutil.tech> | 2023-04-15 01:04:28 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-04-15 06:37:51 +0200 |
commit | 0329ddf46a0d24303fac5954bf3c70d5f3fe577c (patch) | |
tree | 83ca60d767bfde06438e191fe4b0a4c7b0da10aa /Userland/Libraries/LibUSBDB/CMakeLists.txt | |
parent | 5db1eb996173b34960f48c7ea8ce4fd33acde157 (diff) | |
download | serenity-0329ddf46a0d24303fac5954bf3c70d5f3fe577c.zip |
Ladybird+LibWebView: Add -P/--enable-callgrind-profiling option
This adds a -P option to run Ladybird under callgrind. It starts with
instrumentation disabled. To start capturing a profile (once Ladybird
has launched) run `callgrind_control -i on` and to stop it again run
`callgrind_control -i off`.
P.s. This is pretty much stolen from Andreas (and is based on the patch
everyone [that wants a profile] have been manually applying).
Diffstat (limited to 'Userland/Libraries/LibUSBDB/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions