Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support gcc 8's cold subfunctions (iovisor#2228)
* support gcc 8's cold subfunctions GCC 8 can split functions bodies into hot and cold regions, causing extra symbols with a ".cold.N" suffix to be emitted. Exclude these extra symbols and only allow the parent function to be traced. Signed-off-by: Andrea Righi <[email protected]> * use byte string with function names read from /proc/kallsyms Function names are read from /proc/kallsyms, that is opened in binary mode. Regex pattern must be bytes as well. Signed-off-by: Andrea Righi <[email protected]>
- Loading branch information