Skip to content

Commit

Permalink
Add switch event
Browse files Browse the repository at this point in the history
  • Loading branch information
erthalion committed Jan 30, 2024
1 parent 126b5d0 commit a5a86f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions collector/lib/KernelDriver.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ class IKernelDriver {
* procexit is essential for keeping threadinfo cache under control.
*/
ppm_sc.insert((ppm_sc_code)PPM_SC_SCHED_PROCESS_EXIT);

ppm_sc.insert((ppm_sc_code)PPM_SC_SCHED_SWITCH);
return ppm_sc;
}
};
Expand Down

0 comments on commit a5a86f1

Please sign in to comment.