get_analyzer_config
Function Description
This API views the parameters required for running the corresponding memory analysis type.
Function Prototype
get_analyzer_config(analyzer_type: str) -> Dict[str, Any]
Parameter Description
Parameter |
Input/Output |
Description |
|---|---|---|
str |
Input |
A string that indicates the memory analysis type. For details, see the output result of list_analyzers, such as leaks or inefficient. |
Dict[str, Any] |
Output |
A dictionary that contains all parameters and can be directly printed. |
Return Value Description
After the API is executed, the input parameters required for the corresponding memory analysis type are directly output.
Example
1 2 3 4 5 | import msleaks leaks_para = msleaks.get_analyzer_config("leaks") print(leaks_para) ineff_para = msleaks.get_analyzer_config("inefficient") print(ineff_para) |
Parent topic: API Reference