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
|
||||
|
||||
|
||||
Kernel:
|
||||
Linux:
|
||||
do_coredump coredump inherit
|
||||
* kernel inherit
|
||||
|
||||
|
||||
@ -41,8 +41,7 @@ _sysprof_callgraph_node_categorize (SysprofCallgraphNode *node)
|
||||
* that you can do valgrind style function matches like:
|
||||
*/
|
||||
|
||||
if (symbol->kind != SYSPROF_SYMBOL_KIND_USER ||
|
||||
symbol->binary_nick == NULL)
|
||||
if (symbol->binary_nick == NULL)
|
||||
return SYSPROF_CALLGRAPH_CATEGORY_UNCATEGORIZED;
|
||||
|
||||
category = sysprof_categories_lookup (NULL, symbol->binary_nick, symbol->name);
|
||||
|
||||
Reference in New Issue
Block a user