mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 20:28:11 +00:00
Kernel+ProfileViewer: Move symbolication to userspace for time profiles
This makes the time profiles look like the memory profiles so we can use the userspace symbolication code in ProfileViewer.
This commit is contained in:
parent
94652fd2fb
commit
983b4bd9f2
5 changed files with 32 additions and 62 deletions
|
@ -43,10 +43,11 @@ struct Sample {
|
|||
i32 tid;
|
||||
u64 timestamp;
|
||||
u32 frames[max_stack_frame_count];
|
||||
u32 offsets[max_stack_frame_count];
|
||||
String symbolicated_frames[max_stack_frame_count];
|
||||
};
|
||||
|
||||
extern u32 pid();
|
||||
extern String& executable_path();
|
||||
|
||||
Sample& next_sample_slot();
|
||||
void start(Process&);
|
||||
void stop();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue