Xuhpclab / DrCCTProf

DrCCTProf is a fine-grained call path profiling framework for binaries running on ARM and X86 architectures.
MIT License
116 stars 37 forks source link

Support the context switch inside the thread #60

Open dolanzhao opened 1 year ago

dolanzhao commented 1 year ago

Golang implements routines switch inside the OS thread, and the routine may pause in one OS thread and resume in another thread. So the tree build per thread may give the wrong call stack. We need to implement the API let the client can set the current context to solve this problem.