mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:17:44 +00:00
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. :^)
This commit is contained in:
parent
4657c79143
commit
3ed6c137df
3 changed files with 15 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue