diff options
author | Andreas Kling <kling@serenityos.org> | 2021-08-11 20:29:34 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-12 00:03:39 +0200 |
commit | 3ed6c137df73b816216472834f4836d290df6c6a (patch) | |
tree | a853017a5d09a9e52b76072ee9d90b179e8b1b3f /Userland/DevTools/Profiler/Profile.h | |
parent | 4657c791433a5d5e3e286fd1a4b85a2478c6356e (diff) | |
download | serenity-3ed6c137df73b816216472834f4836d290df6c6a.zip |
Profiler: Parse and render signpost strings
The first perf_event argument to a PERF_EVENT_SIGNPOST is now
interpreted as a string ID (in the profile strings set.)
This allows us to generate signposts with custom strings. :^)
Diffstat (limited to 'Userland/DevTools/Profiler/Profile.h')
-rw-r--r-- | Userland/DevTools/Profiler/Profile.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/DevTools/Profiler/Profile.h b/Userland/DevTools/Profiler/Profile.h index e1c75a281e..cb5cc30327 100644 --- a/Userland/DevTools/Profiler/Profile.h +++ b/Userland/DevTools/Profiler/Profile.h @@ -178,7 +178,7 @@ public: bool in_kernel { false }; // FIXME: Put event type-specific arguments in a union to save memory. - FlatPtr arg1 {}; + String signpost_string; FlatPtr arg2 {}; Vector<Frame> frames; |