mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:17:35 +00:00
Kernel: Prune uninteresting kernel frames from profiling samples
Start capturing the sample stacks at the EIP/EBP of the pre-empted thread instead of capturing EBP in the sampling function itself.
This commit is contained in:
parent
bf0719092f
commit
647cfcb641
3 changed files with 12 additions and 5 deletions
|
@ -61,6 +61,7 @@ public:
|
|||
PerformanceEventBuffer();
|
||||
|
||||
KResult append(int type, FlatPtr arg1, FlatPtr arg2);
|
||||
KResult append_with_eip_and_ebp(u32 eip, u32 ebp, int type, FlatPtr arg1, FlatPtr arg2);
|
||||
|
||||
void clear()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue