mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof: fix kernel (Linux) categorization
This commit is contained in:
@ -214,7 +214,7 @@ JS:
|
|||||||
* javascript inherit
|
* javascript inherit
|
||||||
|
|
||||||
|
|
||||||
Kernel:
|
Linux:
|
||||||
do_coredump coredump inherit
|
do_coredump coredump inherit
|
||||||
* kernel inherit
|
* kernel inherit
|
||||||
|
|
||||||
|
|||||||
@ -41,8 +41,7 @@ _sysprof_callgraph_node_categorize (SysprofCallgraphNode *node)
|
|||||||
* that you can do valgrind style function matches like:
|
* that you can do valgrind style function matches like:
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (symbol->kind != SYSPROF_SYMBOL_KIND_USER ||
|
if (symbol->binary_nick == NULL)
|
||||||
symbol->binary_nick == NULL)
|
|
||||||
return SYSPROF_CALLGRAPH_CATEGORY_UNCATEGORIZED;
|
return SYSPROF_CALLGRAPH_CATEGORY_UNCATEGORIZED;
|
||||||
|
|
||||||
category = sysprof_categories_lookup (NULL, symbol->binary_nick, symbol->name);
|
category = sysprof_categories_lookup (NULL, symbol->binary_nick, symbol->name);
|
||||||
|
|||||||
Reference in New Issue
Block a user