-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: initial profiling impl * feat: better options * chore: add todo * add tests * add debug logs * fix logging, add additional warnings * readd nonzero location and function ids, add stack frame count * fix: format * remove unused imports * add stop_profiling, filtering of internal threads * feat: handle process forking, use logger provider * chore: get rid of unnecessary imports * stacktrace building without line lookups * account for processing time when scheduling next sampler sleep * remove debug printout * tear down profiler thread on exit * hack around process hang on exit * hack around shutdown * get rid of logger provider dude to windows hangs * add check for register_at_fork * readd logger provider * add comment about trace context to profiling tests * rename call_stack_interval to call_stack_interval_millis * remove unused import * pass explicit thread_states to to_log_record / encode_cpu_profile * remove access to _profiler from _start_profiler_thread * wrap context hooks * refactor Profiler into a class with methods (#355) * lint --------- Co-authored-by: Pablo Collins <pablo.collins@gmail.com>
- Loading branch information
Showing
14 changed files
with
849 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.