Use bcc_symbol_option in bcc_foreach_function_symbol
This commit changes `bcc_foreach_symbol` to use the new `bcc_symbol_option` to control it only wants function symbols. Also renamed it to bcc_foreach_function_symbol and added comments for better information. This commit maintained current behavior of the function to prefer use debug file and check debug file CRC. We could add option to configure that behavior in the future if needed.
Showing
Please register or sign in to comment